Westonci.ca is the ultimate Q&A platform, offering detailed and reliable answers from a knowledgeable community. Get quick and reliable solutions to your questions from a community of experienced professionals on our 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