Question: This problem is in C++ Define a function to convert a change amount in pennies to nickles and pennies, using the least amount of pennies
This problem is in C++
Define a function to convert a change amount in pennies to nickles and pennies, using the least amount of pennies as possible.
Function should be named Convto Nick Pen. the change amount is an int variable named changeAmt, the nickels amount is an int variable named nick, and the pennies amount is an int variable named Pen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
