asked 97.4k views
3 votes
Write a little man program that accepts three values as input and produces the largest of the three as output.

1 Answer

3 votes
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);


answered
User Sweetmusicality
by
8.2k points

No related questions found