Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int h;
- printf("Enter the height: ");
- scanf("%d",&h);
- if(h>=165)
- {
- printf("The person is Tall\n");
- }
- else if(h<150)
- {
- printf("The person is Dwarf\n");
- }
- else
- {
- printf("The person is Mediam\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement