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

A measure of the disorder of a system is called: enthalpy energy entropy synergy
HELP ASAP A roller coaster is 1/2 way down, what form of energy does this roller coaster have at this point? KINETIC, POTENTIAL, OR BOTH KINETIC AND POTENTIAL
what does x equal? ......
The root word “ped” means child and the root word “pod” means foot. My question is, why is it called a “pedicure” instead of a “podicure” ? I’m honestly just c
How do we know Shakespeare and his wife were most likely not happily married
what was medieval literature like?
Match these items. Match the items in the left column to the items in the right column. 1. atmosphere waste that will decompose naturally without causing harm
Why do the cellular processes necessary for life take place in a watery environment?
Simplify (3x − 5) + (5x + 1). 8x − 6 8x + 4 8x − 4 2x − 4
the earth takes one year to revolve around the sun at 1 A.U. distance (an astronomical unitv=93,000,000 miles) if a planet were 4 A.U. from the sun, how many ye