Reference no: EM131395859
You have been developing a BankAccount class for Parkville Bank that contains several fields and functions, including overloaded operators. You have also created child classes derived from the BankAccount class: CheckingAccount, SavingsAccount, and CheckingWithInterest. Complete these tasks:
a. Create a BankLoan class that derives from BankAccount. The BankLoan class inherits the account number and balance (loan amount) from its parent, and also includes fields that hold the loan term (in months) and the annual interest rate charged. The BankLoan class also contains bit fields that store data about the type of loan-whether it is a mortgage, automobile loan, home improvement loan, or student loan. For every loan, only one of these bits can be on. Additional bit fields indicate whether the BankLoan customer also has a checking account, savings account, or interest-bearing checking account with the bank. None, some, or all of these bits indicate that the customer's account types can be on. Write a main()function that prompts the user for five BankLoan objects. When data entry is complete, display the five BankLoan values. Save the file as BankLoans.cpp.
b. Write a main()function that declares an array of 10 BankLoan objects. Write a recursive sort()function that places the BankLoan objects in ascending order based on account number. Save the file as AscendingLoanSort.cpp.
c. Write a main()function that declares an array of 10 BankLoan objects. Write a recursive sort()function that places the BankLoan objects in descending order based on loan amount. Save the file as DescendingLoanSort.cpp.
Find an algorithm that uses a recursion in a bubble sort
: Display the 100 numbers, then sort them using the recursive bubble sort method and display them again. Save the program as RecursiveBubbleSort.cpp.
|
Supply and demand equations
: Assume that the market for sriracha sauce can be represented by the following supply and demand equations:
|
Enumerative definitions or operational definitions
: Determine whether the following are demonstrative definitions, enumerative definitions, synonymous definitions or operational definitions.- "Rapier" means sword.
|
Describe three requirements elicitation difficulties
: Describe three requirements elicitation difficulties or challenges from the examples below. Give an example of one of these challenges from your experience or otherwise.
|
Create a bankloan class that derives from bankaccount
: Write a main()function that declares an array of 10 BankLoan objects. Write a recursive sort()function that places the BankLoan objects in descending order based on loan amount. Save the file as DescendingLoanSort.cpp.
|
Evaluate the specific preparation steps in the preparedness
: According to the Department of Health and Human Services (2002), the nation's capacity to respond to bioterrorism depends largely on the ability of clinicians and public health officials to detect, manage, and effectively communicate in advance of..
|
Etymological definitions or operational definitions
: Determine whether the following are demonstrative definitions, enumerative definitions, or definitions by subclass.- "Oak" means a tree that bears acorns.
|
What are the maximum amount of k and l
: Draw the isocost line for a total cost per day of $15,000. (Base case) and Draw the isoquant curve when this firm is producing efficiently, assuming output is 100 units. What are the maximum amount of K and L possibly used to produce 100 units?
|
Advice silcraze city council of its liability
: Advice Silcraze City Council of its liability in each of the following situations I.e with James, Ben and Mary who are all Members of the Gym - James uses the Bench Press and is injured as the equipment is broken.
|