Here is my Assignment please read it below thanks.
Q1. Design a class in C++ named studentAccount that includes a private data item ‘balance’ and public member functions ‘pay_fees’, add_fees’, apply_scholarhsip and ‘return_balance’.
a. Copy class header file below this line.
b. Copy the complete class implementation code below this line. The default constructor initializes the balance to zero.
c. Copy the client code below this line. This code will define an instance ‘myaccount’ of the studentAccount class and add a semester fees of $5450 and a scholarship credit of $2000. Then partial fees of $3050 will be paid. The balance must be displayed after each transaction in the client code.
d. Copy the screenshot of the test run of the code with the actual data as given in part ‘c’ above.
60 points
Q2. Write a C++ program that calculates an by using a recursive function where ‘a’ and‘n’ are integers.
40 points

WhatsApp us