Created
April 1, 2018 17:38
-
-
Save vietduchelo/36116c96f165b1a66d330285b2f80f5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <stdlib.h> | |
using namespace std; | |
int main() | |
{ | |
int a,b,c; | |
cout << "nhap 3 so a,b,c : "; | |
cin >> a >> b >> c; | |
cout << "so lon nhat trong 3 so la: " << (a>b ? (a>c ? a : c) : (b>c ? b : c)) << endl; | |
system("PAUSE"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment