Question: 5 5 8 8 0 6 . 4 2 6 0 0 8 8 . qx 3 zqy 7 Jump to level 1 A potluck

558806.4260088.qx3zqy7
Jump to level 1
A potluck starts out with 49 cookies. Then, integer numCookies is read from input representing the number of cookies eaten.
Assign integer cookiesRemaining with the number of cookies that are left.
Ex: If the input is 6, then the output is:
43
Learn how our autograder works
 558806.4260088.qx3zqy7 Jump to level 1 A potluck starts out with 49

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