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

How did world war 1 contribute to the collapse of the Russian monarchy?
Explain why shorelines are always changing
Why was nature so important to Anne Frank? (The Diary of Anne Frank) Please help!!!
Who were the Britons fighting against in the middle ages?
A rectangle whose perimeter is 80 m has an area of 384 m^2. Find the dimensions of the rectangle.
Two ships leave whittier, Ak at 7 AM. The first ship sails towards Valdez on a 54° course at a constant rate of 36 mi/h. The second ship sails towards Knight is
Your uncle is planting an 8-foot tall tree. He ties support wires to the tree, 1 foot from the top, and ties them to posts on the ground, 4 feet from the trunk
which number will make the fractions equivalent 25/35
colby wants to set sqaure tiles on the top of a box the top of the box is a rectangle 71/2 inches long and 51/2 inches wide how many 1/2 inch tiles would he nee
People who have an extra X chromosome could have gotten it through (A) nondisjunction. (B) transposition. (C) transduction. (D) crossing over. (E) all of the ab