Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Windows.h>
- #include <iostream>
- #include <stdio.h>
- int main()
- {
- int a, b, c;
- scanf("%d%d%d", &a, &b, &c);
- if (a > b)
- if (a > c) printf("%d\n", a);
- else printf("%d\n", c);
- else
- if (b > c) printf("%d\n", b);
- else printf("%d\n", c);
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement