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

The price of a math book is $50 but you only have $35 with you. If you get a discount of 20% how much money do you need to borrow from a friend so that you can
Your friend has had 2 drinks at a party. Approximately how many hours will it take for his body to break down the alcohol? A. 2 hours B. 3 hours C. 1 hour D.
Find the area of the triangle that has a base of 5in -‘d a height of 3 3/4
Which of the following could be a function with zeros of -3 and two?
What are reasons that American citizens might reject a one-party system?
what is the answer??
How much will Emily pay for the backpack after the discounts?
Thinking about the patients who seem to have the same illness, what did they have in common that would cause the "same illness"?
Which of the following techniques were most helpful to Watson and Crick in determining the structure of DNA? a. X-ray crystallography b. electrophoresis c. radi
What is [tex] - \frac {12}{80} [/tex]as a decimal?​