#include <stdio.h>
int main()
{int x;
printf("Enter a value: ");
scanf("%d",&x);
printf("9-13 8-7 18-10\n");
printf("18\n");
//printf("2");
if(x>=9 && x<=13){
printf("1");
}
else if(x>=7 && x<=8){
printf("2");
}
else if(x>=10 && x<=18){
printf("3");
}
}
Comments
Leave a comment