Search
 
SCRIPT & CODE EXAMPLE
 

C

C program determines the height status for heights in cm

#include <stdio.h>
void main() 
{
	float ht;
	printf("Enter the Height (in centimetres)
");
	scanf("%f",&ht);
	if(ht < 150.0)
		printf("Dwarf
"); 
    else if((ht>=150.0) && (ht<=165.0))
    	printf(" Average Height
"); 
    else if((ht>=165.0) && (ht <= 195.0))
		  printf("Taller
"); 
    else
		  printf("Abnormal height
");
}
/* End of main() */
Comment

PREVIOUS NEXT
Code Example
C :: Sum of upper & lower triangles elements 
C :: reverse string in c 
C :: copy a number of characters to another string in c without standard library 
C :: sadsa 
C :: change no_turbo 
C :: [4,5,6] 
C :: laarvel artisan to create controller model miigration 
C :: l/O Multiple Values 
C :: opération bit à bit c 
C :: or gmode inline image 
C :: To get file info 
C :: class to const void * 
C :: i765 OPT filing fees october 2 
C :: transpose of a matrix in c 
C :: helloworld c 
C :: write to console c 
C :: rpobleme valgrind 
Dart :: future delayed flutter 
Dart :: flutter keyboard overflow when opens 
Dart :: sleep in dart 
Dart :: flutter trigger show off keyboard 
Dart :: how to get value from user in dart 
Dart :: raisedbutton shape flutter 
Dart :: ce button on calculator dart 
Dart :: flutter string contains 
Dart :: how to put tapping effect on card in flutter 
Dart :: dartpad missing browser localstorage 
Dart :: how to get the display size of mobile display in flutter 
Dart :: ListTile with shadow flutter 
Dart :: flutter listtile selected 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =