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

CAN SOMEONE PLSSSS HELPPP ILL GIVE BRAINLIEST
What does the following loop do? val = 0 total = 0 while (val < 10): val = val + 1 total = total + val print( total)
Which sequences are arithmetic? Check all that apply. 0, 8, 16, 24, ellipsis 7, 12, 17, 22, ellipsis 6, 12, 24, 48, ellipsis 8, 14, 20, 26, ellipsis 11, 18, 23,
Ben bought a bag of potatoes that weighed 2.25 pounds. He also bought 2 boxes of raisins that weighed 0.375 pound each and 2 bags of apples that weighed 1.5 pou
name three factors that can affect the choice of personal belongings​
Which of the following shapes are congruent?
how did the magna carta influence the us constitution government structure ​
Suppose you are one of the leading researchs in your coastal community.A land developer wants to build a mall that is 20 feet off the edge of the coast.He repre
Chinese citizens living in urban cities are most likely to have __________. A. small families B. jobs in agriculture C. less-expensive housing D. less governmen
Please, What do you think of this. Please I need help on this