hasara hasara
  • 08-01-2015
  • Computers and Technology
Answered

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

Answer :

ridgewayc66
ridgewayc66 ridgewayc66
  • 08-01-2015
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
Answer Link

Other Questions

The Cuban missile crisis was effectively ended when the 1 Soviet Union agreed to withdraw weapons from Cuba 2 Bay of Pigs invasion removed Fidel Castro from po
How did professors feelings about black well as a student change over time
In the United States who elects the legislature
Which group believed the Islamic leadership should stay in Muhammads family
Im doing a crossword puzzle and the clue is your sunny day tagalong the space is 6 letters
What other countries celebrate the 4th of July
Which statement correctly describes Napoleon Bonaparte A He established the Continental System to keep American goods out of Europe B He refused Robespierres of
The ordered pairs 13 29 327 481 and 5243 represent a function what is a rule that represents this function a yx3 b y3x c y 3x d y x3
What is 2 34 multiplied by 3
solve this equation 987n7