Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- string 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 << end;
- else cout << c << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement