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. if (max > a[2])
  5. std::cout << max;
  6. else
  7. {
  8. max = a[2];
  9. std::cout << max;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement