Computer Science, asked by oscarlittle7, 6 months ago

Write a C+ program whose inputs are three integers, and whose output is the largest of the three values.

Answers

Answered by Aahana07
0

Answer:

Explanation:

int x, y, z;

cin >>  x;

cin >> y;

cin >> z;

int max;

if(x < y) max = y;

else max = x;

if(max < z) max = z;

cout << max;

Similar questions