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

Move a phrase and number to the blanks to complete the sentence.
what was Alexander Hamilton response to the whiskey rebellion ?
which factor of production would plants fall under and explain and give another example after explaining
. Jill rolled a regular 6-faced die three times and got 2 each time. What is the probability that she will roll 2 again on the next roll?
A stone of mass 6kg is released from a height of 30m, calculate the velocity before the impact (take gravity=10m/s)
Brainliest! Pls help
An empty flask has a mass of 0.424 g at 100.° C and 745 mm Hg. If the volume of the flask is 247.3 mL, what is the molar mass of the acetone?
Which function allows you to display the name of the month? >>>import time >>>aTime = time.locatime() >>>time.__________("%B",aTime)
Can someone help me with this one math problem? Convert 32.8% to a fraction in simplest form and a decimal.
Who was the soldier that was destroyed in the bomb blast in the introductory story? What was the “silver lining” the commander noted?