Question: Using Java & Eclipse IDE: How can I make this incremented integer (numCorrect) work with math operations? I am trying to take the number correct
Using Java & Eclipse IDE:
How can I make this incremented integer (numCorrect) work with math operations?
I am trying to take the number correct out of ten questions and end up with a grade on the overall 'quiz'.
numCorrect starts at 0.

C cs102 Java -ks,srcyprograms/ks'src/programsyouzlava Eclipse File Edit s urce Refa tor Navigate Search ect Ruri Window Help Assignment D Hurricanesjava Fhrka FortToln hrs... Gallons ToToa. Systen out.println("Tha 06 System-out. rintir ("The correct answer is teaspaons teaspoxiris!"); Programs 107 Assignment Java 08 Do To 09 Calculate and print summary intornatiori FahrerheitToCelsiusjava tlne 10 System. o FahrenhcitToCelsiusQuizjava int grade ((nur Correct/10) 100); 112 if (0 grade & Erade 60) Heet System. You have scored an F 13 D ee.Tol esQuizjava if (Ge grade && grade 70 D Gallons TDTe java System out.print. r ("You have recieved a D."); 115 HelloWorld if (Te grade && grade 80 16 MHurricaneslavi Systern out.println("You have recieved a C gTL 118 if (00 grade & grade 90 D Met Miles. System.out.println You have recieved a B. 19 if (90 grade && grade 100 21 Syst Pounds ToKilogram 22 System.out.println Congrats you recieved a score of nurCorrect "/10." sCS.vrar Program That equals a grade ot grade T."); Assignment 25 26 JRE Syste 27 2B Console xterminated Quiz (10 ava Application CAProgram Files JawaVra1.80 121MbinWavaw.exe Jan 23, 2017, 07 PM) Answer 96 That's correct! Question 3 Convert 7-a gallons to teaspoons, within 10-0 tea poons. (Testing purposes only correct answer is 5376 5376 congrats you recieved a score of 3/10. That equals a grade of 0. Smart Insert Writable Access E ind Activate.. Programs CS5rc Programs Quiz
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
