+ 2

If else for grade

please give me a program with if else for grade subjects atleast three subjects

22nd Dec 2016, 4:25 PM
Ahmed Mohamed
Ahmed Mohamed - avatar
1 Respuesta
+ 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 }
22nd Dec 2016, 4:38 PM
Wen Qin
Wen Qin - avatar