Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(){
  5. string a,b,c;
  6. cin >> a >> b >> c;
  7.  
  8. if (a>= b and a >= c) cout << a << endl;
  9. else if (b>= a and b >= c) cout << b << end;
  10. else cout << c << endl;
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement