Question: plz solve the problem in java 1 Scanner console = nem Scanner (Systen. in): Systed, out.print(What percentage did you earn? 7; int percent = console,

plz solve the problem in java plz solve the problem in java 1 Scanner console = nem Scanner

1 Scanner console = nem Scanner (Systen. in): Systed, out.print("What percentage did you earn? "7; int percent = console, nextint () ; if if (percent =98 ) ( 5. Systen, out, println("You got an AI"): 5.) (3) percentageGrade if (percent s= BB) ( Systen, out. println("you got a B,"); What's wrong with the following code? Modifyit to produce the intended output. Make sure to properly utilize iffelse/f statements to moid redundancy and woid unnecessary tests. Do not use 88 or 11 in yout solution. What percentage did you earn? 87 You got a B! Bare code: Wate a hapnert of lawa coice ai dewerioed, without any cass or tunctionethod heading: around your cede

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!