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

If a=3 and b=5, what is the value of 3a + b to the power of 2?
What is one half added to three tenths
-2 (x-7)=-(2x+5) solve for x
what is the theory that tax cuts can raise supply called
Log4(6x-8)=3 Help please
Which words in the sentence make up the appositive phrase? The winner of the art contest was Tiffany, my youngest cousin. A. was Tiffany B. of the art contes
describe why the bureaucratic personality can be dangerous.
Simplify (7-8i)+(-12-4i)
what is the balanced chemical equation for caffeine?
Help me on this question plz plz