Coding the first correct answer used in the video explanation gives an error:
if (quizScore < 70) {
System.out.println(“You should reach out to the course staff”);
} else if (quizScore >= 70 && quizScore <= 90) {
System.out.println(“Nice job, and you can probably do better next time”);
} else {
System.out.println(“Great job”);
}
The homework rates it as incorrect stating:
Your submission contains unexecuted code:
You have 1 more lines of unexecuted code than the solution, which is more than the limit of 0…