Adapted by Neilor Tonin, URI Brazil
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”.
The input file contains 2 integer numbers.
Print the message "PROD" and PROD according to the following example, with a blank space before and after the equal signal.
Input Samples | Output Samples |
3 |
PROD = 27 |
-30 |
PROD = -300 |
0 |
PROD = 0 |