jrocklove708 jrocklove708
  • 04-02-2018
  • Computers and Technology
contestada

Write a little man program that accepts three values as input and produces the largest of the three as output.

Respuesta :

mathmate
mathmate mathmate
  • 04-02-2018
Required: program to return the largest of three numbers.

pseudocode

input parameters, int A,B,C;
int T; // temporary storage
if (A>B) T=A;
else T=B;
if (T>C) print(T);
else print(C);


Answer Link

Otras preguntas

Maryan harvested a total of 22.69 t of rice and sold it in 100 kg bags. how many full bags did she sell​
If anyone has read “Song of the Trees,” please, please help me answer these questions ASAP if possible!!!
Can someone help me with this? i am very confused.
What is the surface area of the Triangular Prism rounded to the nearest tenth? A)18.5 B) 36.9 C) 43.6 D) 87.2
True or false you would use the imperfect tense to talk about an action that interrupts another
The area of a square is 9ft find the area of a square with 4 times as large
True or false you would use the imperfect tense to talk about an action that interrupts another
A cylinder has a volume of 320 pi cubic inches and a height of 5 inches what is the radius
Which exercise involves a movement back behind the body?
What is the surface area of the Triangular Prism rounded to the nearest tenth? A)18.5 B) 36.9 C) 43.6 D) 87.2