The problem is to calculate the product of two input integers a and b.The output of the program is to display the product given by the user. The product of two numbers can be calculated by;
Input variables processing variables output variables Necessary header files.
a(int) c=a*b; c(int) stdio.h
2. Input two integers given by the user i.e. a.b or int a,b;
3. Multiply the value of a and b and assign the result to c.
4.Print the value of c.
Compiling, Debugging and Testing
Enter a and b : 5 10
5 * 10 =50