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

Maggie bought 2 boxes of cupcakes for her daughters. She ate one cupcake herself and told her 3 daughters to share the remaining cupcakes equally. If there were
16.686 rounded to the nearest hundredth
find three consecutive even numbers whose sum is 96?
Which phrase describes a nonlinear function a The area of a circle as a function of the radius b the perimeter of a square as a function of the side length c th
How do you decide where to place the first digit when you divide with greater number
A young boy has been found, and police are trying to locate his family. They take a DNA sample from him and begin collecting DNA samples from families who have
robin tosses a fair coin and then draws a ball from a bag that contains one red, one blue, and one green ball. what are the possible outcomes for the experiment
Which founding father worked to establish a separation between church and government by drafting the Virginia Bill of Establishing Religious Freedom? a.Patrick
Which of the following would a local Government address? Coining Money New Post Office Theft from a store Changing marriage laws
What results if cells do not respond to the normal mechanisms that control cell division?