Question: Have a look at the flowchart and pseudocode below: >> identify the purpose of the algorithm that they both represent >> identify the processes included
Have a look at the flowchart and pseudocode below:
>> identify the purpose of the algorithm that they both represent
>> identify the processes included in the algorithm.
What would be output if the numbers 7 and 18 were input?

START INPUT Nun1, Num2 INPUT Numl, Num2 IF Numl > Num2 THEN PRINT NUMI, " is largest" ELSE PRINT NUM2, is largest Num27 PRINT Nund, is largest ENDIF PRINT Nun2, is largest STOP Figure 7.11 Flowchart and pseudocode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
