Westonci.ca offers quick and accurate answers to your questions. Join our community and get the insights you need today. Get immediate answers to your questions from a wide network of experienced professionals on our Q&A platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

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