Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (a[0] > a[1])
- max = a[0];
- else max = a[1];
- if (max > a[2])
- std::cout << max;
- else
- {
- max = a[2];
- std::cout << max;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement