Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. if (a[0] > a[1])
  2. max = a[0];
  3. else max = a[1];
  4.  
  5. if (max > a[2])
  6. std::cout << max;
  7. else
  8. {
  9. max = a[2];
  10. std::cout << max;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement