write a program to enter name and height of two persons and find shorter one among them
Answers
for which programming language do you want
Answer:
void main()
void main(){float height;
void main(){float height; printf("Enter the Height (in centimetres) \n");
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)printf("Dwarf \n");
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)printf("Dwarf \n");else if ((height >= 150.0) && (height <= 165.0))
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)printf("Dwarf \n");else if ((height >= 150.0) && (height <= 165.0))printf(" Average Height \n");
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)printf("Dwarf \n");else if ((height >= 150.0) && (height <= 165.0))printf(" Average Height \n");else if ((height > 165.0) && (height <= 195.0))
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)printf("Dwarf \n");else if ((height >= 150.0) && (height <= 165.0))printf(" Average Height \n");else if ((height > 165.0) && (height <= 195.0))printf("Taller \n");
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)printf("Dwarf \n");else if ((height >= 150.0) && (height <= 165.0))printf(" Average Height \n");else if ((height > 165.0) && (height <= 195.0))printf("Taller \n");else
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)printf("Dwarf \n");else if ((height >= 150.0) && (height <= 165.0))printf(" Average Height \n");else if ((height > 165.0) && (height <= 195.0))printf("Taller \n");elseprintf("Abnormal height \n");
void main(){float height; printf("Enter the Height (in centimetres) \n");scanf("%f", &height);if (height < 150.0)printf("Dwarf \n");else if ((height >= 150.0) && (height <= 165.0))printf(" Average Height \n");else if ((height > 165.0) && (height <= 195.0))printf("Taller \n");elseprintf("Abnormal height \n");}