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