+ 2
If else for grade
please give me a program with if else for grade subjects atleast three subjects
1 Answer
+ 3
its simple, just do something like this :
int usergrade;
int usergrade = /*some number*/;
if (usergrade => 50)
{ //code for passing the subject
}
else
{ //code for failing
}