Create a class named SavingsAccount. Provide fields for the customer (use the Person class from Exercise 3), account number, balance, and interest rate. Provide two constructors. One requires a...


Create a class named SavingsAccount. Provide fields for the customer (use the Person


class from Exercise 3), account number, balance, and interest rate. Provide two constructors.


One requires a customer and sets each numeric field to 0; the other requires a customer


and an account number and sets the account’s opening balance to $100 at 3% interest.


Include a function that displays an account’s data fields. Write a main()function that


instantiates one SavingsAccount object of each type and displays their values. Save the


file as SavingsAccount.cpp.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here