Advertisement
Advertisement
/* C - else if statement example */
#include<stdio.h>
int main()
{
if(99>100)
printf("99 is greater than 100");
else if(99<90)
printf("99 is less than 90");
else
printf("99 is greater than 90 and less than 100");
return 0;
}
99 is greater than 90 and less than 100
Advertisement
Advertisement
Please check our latest addition
C#, PYTHON and DJANGO
Advertisement