0
C++ program that can display a grade when you input mark of a student
7 Réponses
+ 2
Yonatan if it only display last one, it seems you have used switch case and forgot to mention break statement....
Read about break in line with switch to get rid of your issue.
And you can also use if else ladder as mentioned by Avinesh instead of switch case...
Both of them switch case and if else ladder has their own pros and cons.
+ 1
Kindly use an if else ladder and assign the marks range inside the if statement and print a corresponding grade for it.
+ 1
We might be able to correct your mistakes
0
Don't cheat
You have to do your homeWorks without cheating
:)
0
It is not homework am just practicing by my self but it only displays the last one
0
Can you please send your code