Write a C+ program whose inputs are three integers, and whose output is the largest of the three values.
Answers
Answered by
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