Get comprehensive solutions to your problems with IDNLearn.com. Our Q&A platform is designed to provide quick and accurate answers to any questions you may have.

write the pseudo code to display the largest number from given 3 numbers.(n1,n2,n3,).


Sagot :

1. READ the values of 3 numbers A, B and C
2. IF the value of A>that of B THEN
GOTO step 3
ELSE
GOTO step 4
ENDIF
3. IF the value of A>that of C THEN
PRINT "The maximum value is that of A"
GOTO step 5
ELSE
GOTO step 4
ENDIF
4. IF the value of B>that of C THEN
PRINT "The maximum value is that of B"
GOTO step 5
ELSE
PRINT "The maximum value is that of C"
GOTO step 5
ENDIF
5. STOP processing