Problem:
Source Code:
#include <iostream>
#include <iomanip>
using namespace std;
int main(){
int A,B;
cin>>A>>B;
cout<<"PROD = "<<A*B<<endl;
return 0;
}
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
Output
Print PROD according to the following example, with a blank space before and after the equal signal.
Source Code:
#include <iostream>
#include <iomanip>
using namespace std;
int main(){
int A,B;
cin>>A>>B;
cout<<"PROD = "<<A*B<<endl;
return 0;
}