Question: . Part #1: Written Exercises: (5 pts) Note: The answers to the following questions should be typed in the block of comments in the Assignemnt3.java
.
Part #1: Written Exercises: (5 pts) Note: The answers to the following questions should be typed in the block of comments in the Assignemnt3.java file, right after your header. Please make sure they're commented out (green). Type them neatly and make them easy to read for the graders. Rewrite the following set of if statements using a nested if (NOT an if-else-if) structure. Requirements: You must use only the > (greater than) relational operator to create your boolean expressions and your else statement(s) must include a single Java statement (one command) not a block of them. Assume that all scores are integers. if (score >= 90) grade = 'A'; if (score >= 80 && score = 70 && score = 60 && score
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
