Question: On page 50 there is a problem to write out, but I'm completely lost on how to write it out. The last two test cases

On page 50 there is a problem to write out, but I'm completely lost on how to write it out.

The last two test cases failed, due to a bug, yielding only 1 of 3 possible points. Fix that bug.

  1. Click on "Develop mode", change the program to use * rather than +, and try running with input 2 (output is 4) and 3 (output is now 9, not 6 as before).
  2. Click on "Submit mode" again, and click "Submit for grading". Observe that all test cases are passed, and you've earned 3 of 3 points.

https://www.coursehero.com/u/file/89972085/cs-1026-zybook-1pdf/?justUnlocked=1#/doc/qa

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 Law Questions!