Ответ:
Объяснение:
#include <iostream>
int main()
{
using namespace std;
int x1, x2, x3, x4, max;
cin >> x1 >> x2 >> x3 >> x4;
max = x1;
if (x2 > x1) {
max = x2;
if (x3 > x2) {
max = x3;
if (x4 > x3) {
max = x4;
}
cout << max;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Объяснение:
#include <iostream>
int main()
{
using namespace std;
int x1, x2, x3, x4, max;
cin >> x1 >> x2 >> x3 >> x4;
max = x1;
if (x2 > x1) {
max = x2;
if (x3 > x2) {
max = x3;
if (x4 > x3) {
max = x4;
}
}
cout << max;
}
}