Question: Can someone please help? im close to getting the code right, but I don't know what I need to fix. thank you. Convert totalPennies to

Convert totalPennies to quarters, nickels, and pennies, finding the maximum number of quarters, then nickels, then pennies. Ex: If the input is 207, then the output is: Quarters: 8 Nickels: 1 Pennies: 2 Note: A quarter is 25 pennies. A nickel is 5 pennies. First, the number of quarters is found using integer division on the total pennies. Then, the remaining amount is found using modcilo. Next, the number of nickels is found using integer division on the remaining pennies. Finally, numPennies is found using modulo on the remaining pennies. Not all tests passed 1; Compare output Input Your output 2 Compare output ^ Output differs. See highights below. Input Yout output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
