C++ program assignment
This Programming Assignment directly builds off of Programming Assignment 10 with the Account, SavingsAccount, and CheckingAccount classes.Use your solutionfor Programming Assignment 10 as thestarting point for this programming assignment.Your solution should consist of eight(8) files: Account.h Account.cpp SavingsAccount.h SavingsAccount.cpp CheckingAccount.h CheckingAccount.cpp The application program(since you will be modifying this for the overloaded operators)Firstname_lastname_200_assign11.pdf (sample runs)Please continue to use the same naming conventionas before, where each filename should contain both your first name and your last name. If your first name is “James” and your last name is “Smith”, then your Account header file should be named James_Smith_Account.h. The other six files should use the same naming convention. COMMENTS (worth 7.5% of your programming assignment grade): Your program should have at least ten (10) different detailed comments explaining the different parts of your program. Each individual comment should be, at a minimum, a short sentence explaining a particular part of your code. You should make each comment as detailed as necessary to fully explain your code. You should also number each of your comments (i.e., comment 1, comment 2, etc.). SAMPLE RUNS(worth 7.5% of your programming assignment grade): You should submit screenshots of at least five (5) different sample runs of your program. To generate each sample run, download the application program file from canvas and change all of the following: (1) the values used in all of the constructor calls (when theobjects are created), (2) the values used in all of the calls to the debit function, and (3) the values used in all of the calls to the credit function. Each sample run needs to use different inputs for all of these values, and your sample runs should NOTbe the same as the sample run that is used in this write-up for the assignment. You should also number each of your sample runs (i.e., sample run 1, sample run 2, etc.).You need to also add statements in the application program that invoke each of your overloaded operator functions–your screenshotsshould show the values used along with the corresponding output on the console screen.For this programming assignment you will be overloadingthe following operators in all three classes (Account, SavingsAccount, and CheckingAccount): 1)<< 2)+= 3)–= 4)+ 5)–6)= 1)For <<, the idea is that you want to be able to print out the balance (withouthaving to call the getBalancemember function) as follows: Account a; SavingsAccount s; CheckingAccount c; cout << a << endl; // prints the balance for the Account object a cout << s << endl; // prints the balance for the SavingsAccount object s cout << c << endl; // prints the balance for the CheckingAccount object c 2)For +=, the idea is that you want to be able to add/credit money to the account (withouthaving to call the credit member function as follows): Account a; SavingsAccount s; CheckingAccount c; a+=50.0; //credit’s (adds) $50.00 to the balance of Account object a s+=27.5; //credit’s (adds) $27.50 to the balance of SavingsAccount object sc+=35.73; //credit’s (adds) $35.73 to the balance of CheckingAccount object c 3)For -=, the idea is that you want to be able to subtract/debit money from the account (withouthaving to call the debit member function as follows): Account a; SavingsAccount s; CheckingAccount c; a-=50.0; //debit’s (subtracts) $50.00 from the balance of Account object a s-=27.5; // debit’s (subtracts) $27.50 from the balance of SavingsAccount object s c-=35.73; //debit’s (subtracts) $35.73 from the balance of CheckingAccount object c 4)And 6) For + and =, the idea is that in addition to += (2), you should also be able to add/credit to the account as follows: Account a, a2; SavingsAccount s, s2; CheckingAccount c, c2; a=a+50.0; OR a=50.0+a; (BOTH orderings should be supported) s=s+50.0; OR s=50.0+s; (BOTH orderings should be supported) c=c+50.0; OR c=50.0+c; (BOTH orderings should be supported) Note that = can also be used for statements such as a=a2;, s=s2;, and c=c2;5)And 6) For -and =, the idea is that in addition to -= (3), you should also be able to subtract/debit from the account as follows: Account a, a2; SavingsAccount s, s2; CheckingAccount c, c2; a=a-50.0; s=s50.0; c=c-50.0; Note that = can also be used for statements such as a=a2;, s=s2;, and c=c2; Note that there are a total of six (6) operators that you need to overload (<<, +=, -=, +, -, =), but you need two different versions for the + operator, meaning that you need seven (7) overloaded operators for each class. Each of the three classes needs all seven (7) overloaded operators,which means you will need to have atotal of twenty-one (21) overloaded operators.HINT:Balance is not a direct member of the derived classes SavingsAccount and CheckingAccount. It is a member of the base class Account, and the derived classes SavingsAccount and CheckingAccountinherit it. This means in the overloaded operators for Savings/Checking, you cannot directly access Balance, since Balance is not a direct member of either of those classes. You need to think about how to handle this.
College of Administrative and Financial Sciences
Deadline: (end of week 12) 21 /11/ 2020 @ 23:59
|Course Name: Accounting Research & Practice||Student’s Name:|
|Course Code: ACCT 403||Student’s ID Number:|
|Academic Year: 1441/1442 H|
For Instructor’s Use only
|Students’ Grade: …… /5||Level of Marks: High/Middle/Low|
nstructions – PLEASE READ THEM CAREFULLY
Assignment Question(s): (Marks. 5)
Q1. Fundamental questions for a survey research need to be answered at the design stage are:
Develop an example of your own on Survey research by answering to all the above questions for a quality design.(2 Marks)
Q2. What do you understand by Archival Research? Please visit SDL and briefly bring out at least 5 historical events available in the Archives and draw your conclusion on archival research. (1 Mark)
Q3. American Psychological Association (APA) and Modern Language Association (MLA) are the two common styles of writing your research work.
Explore from website the two methods and explain why it is important to maintain these formats (1 Mark)
Q4. What are the essential Ethical guidelines that the researcher needs? (1 Mark)
Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?
Whichever your reason may is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.
Our essay writers are graduates with diplomas, bachelor, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college diploma. When assigning your order, we match the paper subject with the area of specialization of the writer.
We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.Read more
The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.Read more
The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.Read more
By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.Read more