Question: using c++, Write a function named change ) that has an integer parameter and six integer reference parameters named hundreds, fifties, twenties, tens, fives, and

using c++,  using c++, Write a function named change ) that has an

Write a function named change ) that has an integer parameter and six integer reference parameters named hundreds, fifties, twenties, tens, fives, and ones. The function is to consider the passed integer value as a dollar amount and convert the value into the fewest number of equivalent bills. Using the reference parameters, the function should Include the function written above in a working program. Make sure your function is called from main) and returns a value to main) correctly. Have main) use a cout statement to display the returned value. Quality Assurance Test the function by passing various data to it and verifying the returned value. You should turn in at least four different dollar values and its equivalent output

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!