Advertisement
labib24

Untitled

Jan 13th, 2023
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int h;
  5.     printf("Enter the height: ");
  6.     scanf("%d",&h);
  7.     if(h>=165)
  8.     {
  9.         printf("The person is Tall\n");
  10.     }
  11.     else if(h<150)
  12.     {
  13.         printf("The person is Dwarf\n");
  14.     }
  15.     else
  16.     {
  17.         printf("The person is Mediam\n");
  18.     }
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement