Programming Homework Help
Programming Homework Help. I need help with my homework ASAP
The program have to be done in microsoft studio c++
Write an application (including algorithm) that uses a class called “CheckingAccount” (see details below).The application must perform the following tasks
- Create 2 checking account objects initialized with $500.00 and $725.00 respectively
- Uses a loop that withdraws 10% of the balance iteratively for 5 iterations
- Displays the checking account information for both accounts
The CheckingAccount class must contain the following
- Constructor with parameters that initialize all instance variables
- firstName, lastName “string” instance variables
- balance “double” instance variable
- “get…” & “set…” methods for each instance variable
- “deposit” method with “double” argument for amount to be added
- “withdraw” method with “double” argument for value to be subtracted
The “CheckingAccount” class requires a header file, “CheckingAccount.h”
Note: This assignment requires submission of multiple files
- CheckingApplication.cpp // contains “main( )” function
- CheckingAccount.cpp// contains “CheckingAccount” class member function definitions
- CheckingAccount.h// contains “CheckingAccount” class definition w/ member function declarations