CHALLENGE 4.11.2: Soda machine with enums ACTIVITY Complete the code provided to add the appropriate amount to totalDeposit. 1 #include <stdio.h> 1 test passed 3 int main(void) 4 enum AcceptedCoins ADD QUARTER, ADD_DIME, ADD_NICKEL, ADD_UNKNOWNI; 5 int totalDeposit; 6 int userInput; All tests 7 passed 8 printfC”Add coin: 0 (add 25), 1 Cadd 10), 2 (add 5). 9 scanf(“%d”,&userinput) ; 10 11 f (userInputADD_QUARTER) 12 13 14 15 /* Your solution goes here 16 17 else t 18 totalDeposit
OR
OR