Question: 2. Given this if/else statement for 2 variables yourquiz and cheating: } if (yourquiz === 100 && cheating === false){ println(hooray!); else if (yourquiz

2. Given this if/else statement for 2 variables "yourquiz" and "cheating": } if (yourquiz === 100 && cheating === "false"){ println("hooray!"); else if (yourquiz === 100 && cheating === "true"){ println("oh no!"); } else if (yourquiz > 50 && cheating === "false"){ println("good work!"); } else{ println("please try again!"); } Fill in this table below with the correct outputs (no explanation needed). output yourquiz cheating 100 "true" 85 "false" 45 "true" 100 "false" (4 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
