Computer Science Homework Help
University of Houston Savings Account Class Computer Science Project
Create a SavingsAccount class. Use a static data number to contain the annualInterestRate for each of the savers. Each member of the class contains a private data member
savingsBalance indicating the amount the saver currently has on deposit.
Provide a calculateMonthlyInterest member function that calculates the monthly interest by
multiplying the balance by annualInterestRate divided by 12; this interest should be added to .
Provide a static member function modifyInterestRate that sets the static annualInterestRate to a new value. Write a driver program to test class SavingsAccount. Instantiate two different savingsAccount objects, saver1 and saver2, with balances of $2000.00 and $3000.00, respectively. Set annualInterestRate to 3%, then calculate the monthly interest and print the new balances for each of the savers. Then set the annualInterestRate to 4% and calculate the next month’s interest and print the new balances for each of the savers.
Grading for Each assignments is Based on following requirements clearly stated as follow:
a. Top of each Program you have your Name : Indicated that this is your work. (1 point )
b. Next line is indicating the date you are submitting your program. (1 point )
c. Next line you will write a brief explanation for what this program intend to do. (1 point )
d. Use of sufficient comments to clarify use of syntax. (1 point)
e. Use of meaningful variable (identifier) in your program (1 point)
f. Separate input, process, and output instructions by a comment (In-Process-Out) (5 point)
g. Working program without any error (9 points)
h. Turn in on time (1 point deducted for each day late submission) (1 point)
Submit only .cpp (source code of your program).
Do not submit zip file .sln file, input and output file