#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
int d;
do
{
printf("\nInsira um numero:");
scanf("%i", &d);
if(d > 0 && d <= 25)
{
printf("Entre 0-25");
}
else if(d > 25 && d <= 50)
{
printf("Entre 26-50");
}
else if(d > 50 && d <= 75)
{
printf("Entre 51-75");
}
else if(d > 75 && d <= 100)
{
printf("Entre 76-100");
}
else if(d < 0 || d > 100)
{
printf("O valor nao esta entre 0 e 100");
}
}
while(d > 0 && d < 100);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: