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

What percent is 150 sq ft of 3000 sq ft
What features of the Chinese form of government did the mongols adopt?
Why might nations join together to remove trade barriers?
What is hyperbole? Please help
Why didn't the first stars to form have solar systems with Earth like planets and satellites?
The surface area of a triangular pyramid is 375.2 m2. What would change if the surface area were measured in square centimeters?
What is 9-4(2p-1)=45?
use the function rule, y= 2x+5, to find the values of y when x =1,2,3,4. write the answers as ordered pairs that would be used to graph the function. show your
Can you make this into an algebraic expresion
A punch  recipe calls for 3 pints of orange juice does the recipe How many ounces oof oranges juice does it requirew