This program is supposed to take in four scores two are assignment scores and the other two are test scores it should only take in score that are 0 to 100 me test chain goes someting like this
//check for valid data
if (test1<0 ||test1>100)&& (test2<0||test2>100)&& (assign1<0||assign1>100)&&(assign2<0||assign2>100)
{
printf("Error your score must be between 0 and 100\n");
printf("Please Enter two test scores\n");
scanf("%f,%f", &test1,&test2);
printf("Please Enter two assignment scores\n");
scanf("%f,%f", &assign1,&assign2);
}
I know its probably wrong but could I have no idea why i'm thinking the chain is too long any other ideas?