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