This is a two part program for C++ it is from chapter 2 please make sure to do both programs and i need them to be seperate not combined i need to see code for both.
6.A. Write a program for a bank that allows the user to enter an amount of money in cents. Display the number of whole dollars the bank will give the customer in exchange.
B. Modify the program in 6a so that, in addition to the cents, the user enters the denomination of the coin to which to convert the pennies, such as 5 for nickles or 25 for quarters.
Please use only things used in cHapter 1 and 2 of Object Oriented Programming using C++ by Joyce Farrel. Please do not use code that has not been learned yet. Points will be awarded as soon as correct answer is submitted.