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

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!