You wanted to use switch to output something once it figured out the grade with your if statements or did you want to use switches to determine the grade
(i.e. you pass an int grade value to the...
Type: Posts; User: GoodbyeWorld
You wanted to use switch to output something once it figured out the grade with your if statements or did you want to use switches to determine the grade
(i.e. you pass an int grade value to the...
#-o
Yeah, I shoulda seen that earlier. I was only looking at the switch part earlier.
One problem is that you have the char variable gradel local to your if statements and hence it goes...
Not sure what you're asking help on exactly.
I think I get your issue though from looking at your code. If you want it to only do the case that you want it to and not go onto the next one if it...