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

Why did the goverment ration goods for people to buy?
What causes chemical weathering?
Alison wants to find out how much time people spend reading books. She is going to use a questionnaire. Design a suitable question for Alison to use in her ques
Please help??? Science SEMESTER REVIEW!!!!In a series of rock layers, a geologist finds fossils of a pine trees and oak trees in layers that are 1.0 m and 1.5
Scientists divide rocks into groups based on_________
what religion did mansa musa of mali help spread
how do you solve 2.75+.003+.158=
Wanda, the Channel 1 weather person, said there was a 30% chance of rain on Saturday and a 30% chance of rain on Sunday. Should Wanda be fired? HELP PLEASE
If a > 0 and b < 0, then which of the following must be true. ab > 0 a + b < 0 a - b > 0 a + b > 0 b - a > 0
In the top row of an chessboard, Tom writes the values 1, 2, 4, 8, 16, 32, 64, 128. In the leftmost column, Tom writes the values 1, 3, 9, 27, 81, 243, 729, 2