Question: percentage Grade - Solve a Problem - CodeStepByStep ale programimdundant to Language/Type: Java basics if/else interactive programs What's wrong with the following code? Modify it
percentage Grade - Solve a Problem - CodeStepByStep ale programimdundant to Language/Type: Java basics if/else interactive programs What's wrong with the following code? Modify it to produce the intended output. Make sure to properly utilize if/else/if statements to ave tests. Do not use && or 11 in your solution. What percentage did you earn? 87 You got a B! Type your Java solution code here: 1 int percent = readInt("What percentage did you earn? "); 2 if (percent >= 90) { println("You got an A!"); 5 if (percept >= 80) { printin("You got a B!"): 8 if (percent >= 7) { 19 println("You got a C!"); 11 if (percent >= 68) { 12 println("You got a D!"): 13 ) 14 if (percent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
