hi guys,
i have a problem on how to this kind of output, i need to write a a code regarding this output:
The grade should follow the table below
<50 fail
50-59 D
60-69 C
70-79 B
80-89 A
90-100 exellent
enter no: 50
do you want to enter another? yes
enter no: 50
do you want to enter another? yes
enter no: 100
do you want to enter another? no// with this statement the program will stop and he needs to diplay this:
your total input : 3
the percentage Failed is: 0%
the percentage D is: 66.67%
the percentage C is: 0%
the percentage B is: 0%
the percentage A is: 0%
the percentage Exellent is: 33.33%
how can i make the total of that three inputs into code,
and how can i get the code of that percentage of A,B,C,D,Excellent and failed
help me please.........................................
thanks,
angel