Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. if ( a > b && a > c){
  2. cout << a;
  3. }
  4. if (b > a && b > c){
  5. cout << b;
  6. }
  7. if (c > a && c > b){
  8. cout << c;
  9. }
  10. if (a == b && a > c){
  11. cout << a;
  12. }
  13. if (a == c && a > b){
  14. cout << a;
  15. }
  16. if (b == c && b > a){
  17. cout << b;
  18. }
  19. if (a == b && a == c){
  20. cout << a;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement