Hello Coderanch forum members. This is my firts time ever posting on here. I'm a relative beginner who's taken a lot of introductory programming classes but never became good at any one of them (probably because I was on to the next one). That being said, now I pretty much don't remember any languages and all the courses I've taken were a waste of time. The language that I enjoyed the most was always
Java! I'm here to improve as much as I can.
Here's my problem. I was tasked with creating a simple drivers exam
test program that consisted of 20 questions that needed to be answered with an uppercase "A-D." At the end of the test I display whether or not you've passed or failed and the percent correct. The pass/fail portion works, but for some reason the percent correct always stays at 0%.
Can someone help me figure out what's wrong here?
Here's the code: