Thinking about this, I come up with the idea of making a grade scale program which will determine if your grade is poor, satisfactory or excellent. In this program, the grades you input will be evaluated. Check out the codes below.
#include<stdio.h> #include<conio.h> main() {
float var2; printf("PASSED or FAILED??\n"); printf("Enter your grade in any subject: "); scanf("%f", &var2); printf("\nYour grade is %.2f. ", var2); if(var2==75) printf("Just enough to get you through!\n"); else if(var2<75) printf("Sorry but you have to repeat the subject!\n"); else if(var2>75 && var2<80) printf("You made it, but you have to try harder next time!\n"); else if(var2>=80)