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

Which is the best example of a scientific discovery resulting from new technology?
Describe how the equation y equal left parenthesis x minus 2 right parenthesis to the power of 2 plus 5 transforms the graph of a basic parabola y equal x to th
Rational numbers are _____ natural numbers. always sometimes never
Alice has 1/5 as many cars as Sylvester has. Sylvester has 35 miniature cars. How many miniature cars does Alice have?
CAN SOMEONE HELP ME FAST. thanks Y= 3x + 2 Is the equation of a straight line graph. Where does it cross the y-axis? Also can you tell me how to work it out?
Another word for afraid
People working in nuclear plants wear special monitoring devices to track their exposure to radiation. Radioactive materials used in plants emit particles but t
How did the the introduction of the horse to North America by the Spanish change the lives of Native Americans???
How does Douglass learn to read?
GUM CANT GET WRONG Is the passage of dialogue written correctly or incorrectly? Derek said, "This is my friend, Paul." Nina exclaimed, "It's so nice t