arrow_forward
همه ارسالها
جزئیات ارسال کد#584
برای پسندیدن وارد شوید
1#include <iostream>
2#include <string>
3
4using namespace std;
5
6
7int main()
8{
9
10 int x,y,z;
11 cin >> x >> y >> z;
12
13 if (y < x)
14 swap(y ,x);
15 if (z < y)
16 swap(z ,y);
17 if (y < x)
18 swap(y ,x);
19
20 cout << x<<" "<<y<<" "<<z;
21
22 return 0;
23 }
کد ارسالشده برای داوری خودکار هاتکدز
UTF-8