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

If 3/4 and 12/x are equlvalent, what is the value of x?
ABCD is a parallelogram. Find the measure of ZABC. HELPPP
An astronaut weighing 190 lbs on Earth is on a mission to the Moon and Mars. Required: a. What would he weigh in newtons when he is on the Moon? b. How much wou
According to all known laws of aviation, there is no way that a bee should be able to fly. Its wings are too small to get its fat little body off the ground. Th
Checking a credit report is a good way to know whether credit is improving. reduce the amount of money owed. determine which debts to pay off. decrease interest
HURRY TODAY IS MY LAST DAY In which two ways can citizens effectively improve the problems in their communities? by paying credit card bills on time by speaking
Which process occurs within the mitichondria
"My mother has a bath daily." Turn this sentence into negative.
gender inequality is a complex social problem in nepal. justify?​
What is the connection between cancer and cell replication (explained in 1 paragraph)?​