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

Certain adverbs and adjectives often go together in sentences as collocation. Sometimes, they can also be used as compound adjectives. e.g. Ayeyarwady dolphins
What results when work seeps into non-work time?
Which term describes the arrangement of words and phrases to create well-formed sentences? syntax logic grammar style
what is linear relationship ​
What is 3x(2 3/4) simplify my
Solve for g. -15 + 3g = 2g g =?
Explain what the effects would be when your body is not absorbing glucose into your bloodstream?
How does engineering affect the amount of human labor needed to harvest rice?
How does our modern, Western society compare to late 19th century Igboland when it comes to viewing others as humans beings?
A system of two equations is shown below. What will you need to multiply the top equation by in order to solve this system using the elimination method? x + y