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 jet plane is flying at a constant altitude. at time t1=0 it has components of velocity vx= 94 m/s , vy= 110 m/s . at time t2= 33.5 s the components are vx= 17
PLEASE HELP ME SOLVE THIS, ASAP! THANKS!
someone help me. Not good at math
Need help with these which one is it
Suppose that 19 inches of wire costs 57 cents. At the same rate, how much (in cents) will 14 inches of wire cost?
If there are 4boys and 2girls in a family, what is the ratio of boys in the family to children in the family?
What is the sum of 5.300 and 3.250
Add. [tex] \frac{5}{12} + \frac{7}{8} [/tex] Write your answer as a fraction in simplest form.
The table shows the outputs y for different inputs x: Input (x) 2 4 6 8 Output (y) 1 2 3 4 Part A: Do the data in this table represent a function? Justify your
What are the possible long-term effects and risks of a herpes infection? A.The virus never leaves the body, so a person may experience outbreaks throughout his