Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main (){
- int a, b, c;
- cin >> a >> b >> c;
- if (a>b and a>c) {
- cout << a << endl; }
- else if (b>a and b>c){
- cout << b << endl;}
- else {
- cout << c << endl;}
- }
Add Comment
Please, Sign In to add comment