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

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

Respuesta :

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

Otras preguntas

When should the personal a be used in a sentence and why? Provide an example of such..
need help with number 10 and 11
Name three kinds of parallelograms to complete the hierarchy. quadrilaterals parallelograms
The conductors in electrical devices are commonly made of a. iron.,B.nickel.,C.Cooper.,D.lead.
Which of the following is an example an a national state dispute that could not be solved by the constitution? (a) fighting in the Mexican war (b) secession of
Which foodborne organism creates havoc within the gastrointestinal tract by producing a toxin?
15℅ of $9 is $______________
Environmental catastrophes can cause changes to the Earth’s surface. T f
The layer above the stratosphere is the?
Isotopes of the same element have different ____. a. positions on the periodic table c. atomic numbers b. chemical behavior d. mass numbers