QuestionPseudocode: Output ana
Malak Nomaka
Order and Output
FIRST LINE OF CODE
: input NUMI
: input NUM2
: calculate SUM = NUMI + NUM2
: calculate RESULT = SUM / 2
: display RESULT
LAST LINE OF CODE
The code is written to find the average between two numbers.
The lines of code are currently out of order.
Well done, the code is in the correct order!
Determine the codes output if the first number entered is 5 and the second number entered is 10 .
I will let you know when your response is correct.
Studdy Solution
Calculate the output.
- Calculate SUM = NUM1 + NUM2
- Calculate RESULT = SUM / 2
- Display RESULT
The output of the pseudocode is:
View Full Solution - FreeWas this helpful?