Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( a > b && a > c){
- cout << a;
- }
- if (b > a && b > c){
- cout << b;
- }
- if (c > a && c > b){
- cout << c;
- }
- if (a == b && a > c){
- cout << a;
- }
- if (a == c && a > b){
- cout << a;
- }
- if (b == c && b > a){
- cout << b;
- }
- if (a == b && a == c){
- cout << a;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement