URI ONLINE JUDGE SOLUTION 1004 - Simple Product

Problem:

Read two integer values. After this, calculate the product between them and store the result in a variable named PROD. Print the result like the example below. Do not forget to print the end of line after the result, otherwise you will receive “Presentation Error”.

Input

The input file contains 2 integer numbers.

Output


Print PROD according to the following example, with a blank space before and after the equal signal.

sample input output

Solution:

#include<stdio.h>
int main()
{
    int A,B,PROD;
    scanf("%d",&A);
    scanf("%d",&B);
    PROD=A*B;
    printf("PROD = %d\n",PROD);
    return 0;
}

Comments

Popular posts from this blog

URI ONLINE JUDGE SOLUTION 1021 - Banknotes and Coins

URI ONLINE JUDGE SOLUTION 1040 - Average 3

URI ONLINE JUDGE SOLUTION 1036 - Bhaskara's Formula