Tìm max ba số nguyên
Submit solution
Points:
1 (partial)
Time limit:
10.0s
Memory limit:
20M
Problem type
Allowed languages
C++, Python
Cho ba số nguyên
Input:
Copy
1 2 3
Outnput:
Copy
3
Comments
ua sao ko AC dc tar ????????????????????????????????????????
include <iostream>
using namespace std; int main() { int a, b, c, max; cout << "Nhap a = "; cin >> a; cout << "Nhap b = "; cin >> b; cout << "Nhap c = "; cin >> c; max = a; if(max < b) { max = b; } if(max < c) { max=c; } cout << "So lon nhat trong 3 so " << a << ", " << b << ", " << c << " la: " << max; return 0; }
.