Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- int main()
- {
- int a, b;
- clrscr();
- printf("enter value of a : ");
- scanf("%d", &a);
- printf("enter value of b : ");
- scanf("%d", &b);
- if
- (a > b)
- printf("a is max");
- else
- printf("b is max");
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement