Write code that assigns resultValue with firstValue * secondValue.

Ex: If firstValue is 4 and secondValue is 2, the output is:

1 integer resultValue
2 integer firstValue
3 integer secondValue
4
5 // Program will be tested with two sets of inputs:
6 // First: 4 2
7 // Second: 9 3
8 firstValue = Get next input
9 secondValue = Get next input
10
11
12
13
14
15 Put "Result: " to output
16 Put resultValue to output

Respuesta :

Q&A Platform for Education
Platform Explore for Education