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

Solve the equation, 2x + 1 = 3, for x. Which of the following properties of equality did you apply? Question 5 options: A) Subtraction and division B) Subtracti
Which graph represents the linear equation below y+1=2/3(x-6)
5+2 I’m graduated so my points are up for grabs cause I’ll never use them. I have to at least as a question with it though.
Governments collect taxes to
m r co m p re ssmy prev acc got banned and this is my new acc...im a boy of 19
Governments collect taxes to
How would ancient astronomers from Silla have observed the movement of stars and other objects compared to astronomers today?
what are your priorities? projects?​
Why does my screen keep showing R/34 pictures of boots the monkey? I’m graduated so my points are up for grabs cause I’ll never use them. I have to at least as
3 An egg is thrown upward with an initial speed of 4 m/s. After 6 seconds, the egg's velocity is m/s