Make a simple problem that only read two integer values. After that, calculate the product between them and store the result in a variable named PROD. Print the result like the sample below. Do not forget to print the end line after the result otherwise you will get “Presentation Error”.
The input file will contain 2 integer numbers.
Print PROD according to the following example, with a blank space before and after the equal signal.
|Sample Inputs||Sample Outputs|
|PROD = 27|
|PROD = -300|
|PROD = 0|
using namespace std;
int a, b, r;
cout<<“PROD = “<<r<<endl;