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

the sum of two consecutive even integers is -22, what are the two numbers?
climatology is a subspecialty of
Identify the property shown. 3p · (2 + k) = 6p + 3pk A. transitive B. associative C. commutative D. distributive
What conditions in Britain paved the way for the industrial revolution
m=k/s solve for k Answer choices K=m/s K=ms K=s/m K=m+s
Solve for x. Y=mx + b Answer choices: X=ym-b X=ym+b X=y/m+b X=y-b/m
jacere : interject :: A. volvere : avail B. valere : convalesce C. salire : accelerate D. currere : care
What is HDI? What factors influence the HDI of a country the most?
Which two substances are covalent compounds? (1) C6H12O6(s) and KI(s) (2) C6H12O(s) and HCl(g) (3) KI(s) and NaCl(s) (4) NaCl(s) and HCl(g)
When a neutral atom undergoes oxidation, the atom’s oxidation state(1) decreases as it gains electrons(2) decreases as it loses electrons(3) increases as it gai