Assignment #2 Assume that a bank maintains two kinds of accounts for customers: a savings account...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Assignment #2 Assume that a bank maintains two kinds of accounts for customers: a savings account and the other as a current account. The savings account provides compound interest and withdrawal facilities but no cheque book facility. The current account provides a chequebook facility but no interest. Current account holders should also maintain a minimum balance, and if the balance falls below this level, a service charge is imposed. Create a class account that stores customers name, account number and type of account. From this derives the class cur_acct and say acct from making them more specific to their requirements. Include necessary constructors and member functions to achieve the following tasks: A menu should be displayed to the user to perform the following tasks. A. Accept deposit from a customer and update the balance. B. Display the balance. C. Compute and deposit interest. D. Permit withdrawal and update the balance. E. Check for the minimum balance, impose a penalty. necessary, and update the balance. Create two files, one for current account holders and the other for saving account holders, to store the data permanently. All the information regarding account holders should be stored in these files. When required to display information regarding an account holder, retrieve the information from the file and display it. Assignment #2 Assume that a bank maintains two kinds of accounts for customers: a savings account and the other as a current account. The savings account provides compound interest and withdrawal facilities but no cheque book facility. The current account provides a chequebook facility but no interest. Current account holders should also maintain a minimum balance, and if the balance falls below this level, a service charge is imposed. Create a class account that stores customers name, account number and type of account. From this derives the class cur_acct and say acct from making them more specific to their requirements. Include necessary constructors and member functions to achieve the following tasks: A menu should be displayed to the user to perform the following tasks. A. Accept deposit from a customer and update the balance. B. Display the balance. C. Compute and deposit interest. D. Permit withdrawal and update the balance. E. Check for the minimum balance, impose a penalty. necessary, and update the balance. Create two files, one for current account holders and the other for saving account holders, to store the data permanently. All the information regarding account holders should be stored in these files. When required to display information regarding an account holder, retrieve the information from the file and display it.
Expert Answer:
Related Book For
Financial Markets and Institutions
ISBN: 978-0077861667
6th edition
Authors: Anthony Saunders , Marcia Cornett
Posted Date:
Students also viewed these computer engineering questions
-
Assume that a bank has assets located in Germany worth 150 million earning an average of 8 percent. It also holds 100 in liabilities and pays an average of 6 percent per year. The current spot rate...
-
Assume that a bank can borrow or lend money at the same interest rate in the LIBOR market. The 90-day rate is 10% per annum, and the 180-day rate is 10.2% per annum, both expressed with continuous...
-
Assume that a bank expects to attract most of its funds through short-term CDs and would prefer to use most of its funds to provide long-term loans. How could it follow this strategy and still reduce...
-
A Howe scissors roof truss is loaded as shown. Determine the force in members DF, DG, and EG. 2AN KN 2kN F! 1AN L5 m
-
Discuss the basic issues, conflicts, and problems involved in concealed loss and damage claims.
-
Steve Prince and Chelsy Dane formed a partnership, dividing income as follows: 1. Annual salary allowance to Prince of $168,780. 2. Interest of 7% on each partner's capital balance on January 1. 3....
-
What Stakeholders have vested interests in a ConOps?
-
Rob's Shameless Self-Promotion Sales (RSS-PS) Inc. is a Canadian-controlled private corporation located in London, Ontario. For its fiscal year ended December 31, 2012, the corporation had correctly...
-
Elouise calculates the price/earnings ratio for the two companies listed below as follows: Will Corp Kunze Corp Price/Earnings Ratio 15.50 29.06 Based on these ratios, which company is expected to...
-
Determine the force in members GF, CF, and CD of the roof truss and indicate if the members are in tension or compression. 1.5 kN 1.70 m 2 kN 1.5 m 0,8 m G. -1 m- 2 m 2 m
-
Sportswear brand Locaf will put on sale what it claims to be the world's first computerized smart shoe. However, consumers will decide whether to accept the $300 price tag-four times the average shoe...
-
The places in the supply chain network where product is stored, assembled, or fabricated are known as facilities. inventory. transportation. information.
-
Assume that low standards of living (i.e., low capital-labor ratios, in the Solow models terms) are the reason that some countries exhibit high fertility rates. Comment on the effect of population...
-
Each semester, each student must be assigned an adviser who counsels students about degree requirements and helps stu- dents register for classes. Students must register for classes with the help of...
-
Which of these approaches to solving the tragedy of the commons is considered a market approach? Command-and-control Mean absolute deviation Cap-and-trade Mutual coercion
-
The simple exponential smoothing forecast method is appropriate when demand has observable trend or seasonality. demand has no observable trend or seasonality. demand has observable trend and...
-
Consider the following algorithm that gets an integer m (an n-bit integer) as input and determines whether m is a prime or not. Input: m x = sqrt (m); for (int i= 2; i
-
Tiger, Inc. signed a lease for equipment on July 1, 2007.The lease is for 10 years (the useful life of the asset).The first of 10 equal annual payments of $500,000 was made on July 1, 2007.The...
-
Calculate the fair present values of the following bonds, all of which pay interest semiannually, have a face value of $ 1,000, have 12 years remaining to maturity, and have a required rate of return...
-
What are flash trading, naked access, and dark pool trading? What are the benefits and drawbacks of these activities?
-
What is meant by denomination intermediation?
-
In an audit of a corporation that has a bond issue outstanding, the trust indenture is reviewed and confirmation as to the issue is obtained from the trustee. List eight matters of importance to the...
-
Robertson Company had accounts receivable of \(\$ 200,000\) at December 31, 200X, and had provided an allowance for uncollectible accounts of \(\$ 6,000\). After performing all normal auditing...
-
Tom Jones, CPA, is auditing the financial statements of a manufacturing company with a significant amount of trade accounts receivable. Jones is satisfied that the accounts are properly summarized...
Study smarter with the SolutionInn App