Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- float a,b;
- printf("Enter the value of a==");
- scanf("%f",&a);
- printf("Enter the value of b==");
- scanf("%f",&b);
- if(a>b)
- {
- printf("a is greater than b");
- }
- else
- {
- printf("b is greater than a");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement