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

explain, in terms of atomic structure, why group 18 elements on the periodic table rarely form compounds
i need help with #3
In which system of government would states function independently of each other?
Simplify. (-1/2)(4times)(-2)(7y)(-1) A. –28xy B. –28 C. 28xy D. 27
p(x) x^3+x^2-x-1 Find all zeros of p (x)
Sophia bought 3 yards of trim to put around a rectangular scarf. She wants the width of the scarf to be a whole number that is at least 6 inches and at most 12
An archer’s arrow follows a parabolic path. The height of the arrow f(x) is given by f(x) = -16x^2 + 200x + 4, in feet. Find the maximum height of the arrow.
an explanation describe if a square-eyed pet mates with another square-eyed pet, can they have any round-eyed offspring.
Aiden wrote a riddle: Five less than 1/5 times a number is same as the sum of the number and 1/3. Find the number
What are the factors of 6x + 24?