Question: Complete the code provided to add the appropriate amount to totalDeposit. Learn how our autograder works 5 3 0 1 8 8 . 2 0
Complete the code provided to add the appropriate amount to totalDeposit.
Learn how our autograder works
qxzqy
int mainvoid
enum Acceptedcoins ADDQUARTER, ADDDIMEADDNICKEL ADDUNKNOWN ;
int totalDeposit ;
int userInput;
printfAdd coin: add add add ;
scanfd &userInput;
if userInput ADDQUARTER
totalDeposit totalDeposit ;
Your solution goes here
else
printfInvalid coin selection.
;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
