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

You’re given two side lengths of 10 centimeters and 8 centimeters. The angle between the sides measures 40°. How many triangles can you construct using these me
what's the answer to complete the comparison 3+7>?
which of the following is a congruence transformation? a. reflecting b. stretching c. dilating
For which kind of plant, Tall or short, do you know its genotype just by looking at the plant? and why? A A TALL plant, because the TALL phenotype is dominan
jenny purchased a prepaid phone card for $30 . long distance calls cost 24 cents a minute using this card. jenny used her card only once to make a long distance
given f(x) = 2x - 1, find the value of f(5).
What is manifest destiny?
What is the slope of the line represented by the equation y=x/4-€
y = 0.75x y = 10 + 0.50x
The distance of planet Jupiter from the Sun is approximately 7.8 ⋅ 108 kilometers, and the distance of planet Mercury from the Sun is approximately 5.8 ⋅ 107 k