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

solve problem below if you are smart. 18 points.
Calculate the frequency of wave that had a wavelength of 425 nm
The table of values shows the output values of three different equations for the same input values, Drag the correct expression to each row to complete each eq
since tomatoes are fruit shouldnt ketchup be a smoothie?
I need to solve the Gaussian linear congruence (2 + i)x = 3 mod (4 - i). I tried working it out and thought I had it correct, and then my teacher sent out the h
hola me ayudan es que tengo una presentación de religión y creencias mayas entonces me dijo el maestro que tienen que ser 18 páginas pero páginas de Canvas llev
Find the value of each variable
A bike manufacturer sends out a poll for its customers to rank 9 bike brands. What are the chances that you guess, at random, the top 5 bike brands correctly an
Sentence #1: Simon worked hard in studying for the real estate exam, to practice for the exam and finally passing the exam. Rewrite the sentence below making th
Work out the area of this semicircle. Take to be 3.142 and write down all of the digits given by your calculator. 18 cm