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

From deltamath.com please help I’m loss
If ABCD is a square where A(-4;2) B(-2;-1) C(1;1) , determine the coordinates of of D​
round 53642 to its tens place​
There are 50 teenagers at a swim meet. The ratio of locals to out-of-town participants is 2:3. How many teenagers travelled from out-of-town to the swim meet?
Question 4 Choice Worth 4 point On a coordinate grid both point (1, 2) and point (-3, -3) are reflected across the y-axis. What are the coordinates of the refle
The lengths of the triangle's sides are 5, 12 , 13. What is the measure of the angle opposite to side 13?
A glass rod acquires charge by rubbing silk cloth. The charge on the glass is due to: (a) Friction (b) Conduction (c) Induction (d) Radiation
EXERCISE 1. Put the verbs in the correct form. 1. Their friends (meet) ______________ Mary at the party last night. 2. My father (go) ______________ to England
tinh S(n) = 1+2+3+.....+n
Zero is_______greater than any negative integer. always never sometimes