Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.34 KB | None | 0 0
  1. //cheak  lowest number
  2. #include <stdio.h>
  3.  
  4. int main()
  5. {
  6.     int a,b,c;
  7.     printf("Imput Three Numbers:");
  8.     scanf("%d%d%d",&a,&b,&c);
  9.     if(a<b&&a<c)
  10.     printf("\n%d is the lowest number\n",a);
  11.     else if(b<a&&b<c)
  12.     printf("%d is the lowest number\n",b);
  13.     else
  14.         printf("%d is the lowest number\n",c);
  15.  
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement