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