Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

# Write a Program that dispense change. The Program shouldread the amount of pur

ID: 3613478 • Letter: #

Question

# Write a Program that dispense change. The Program shouldread the amount of purchase and the amount paid and then displaythe number of dollars , quaters, dimes, nickels, and pennies givenin change. (Hint - Convert Purchase amount andthe amount paid to pennies.) Calculate difference . Use % operatorto determine how many dollars to pay. Subtract the number ofpennies from change due and continue this process for quarters ,dimes, etc. Your answer may be off by a penny . Do you have anyidea why this might be the case ? How would you correctthis.)

Thanks

Urgent Help

Explanation / Answer

#include using namespace std; int main () {    cout