C Question
use library using namespace std; and only.
Programming question(Use separate files and Virtual Function whenever it is appropriate)
Design a C class called Account to manipulate customers bank accounts. The class should have the following characteristics:
The customer name
The customer account number
The customer balance
In, your class develop the following methods:
– se the account number;
– get the account number,
– get the balance,
– Set the balance
– deposit Money
– withdraw Money,
– print account details.
– Constructor with parameters
– Default constructor
2. Design a child class called savings that is inherited from the class Account.
This class has interest Rate as a data member. A customer with a savings account can receive interest, make deposits and withdraw money. In addition to the functions inherited from the parent class, this class should provide the following operations:
– set interest rate,
– get interest rate,
– withdraw
– print account information.
– constructor with parameters
– default constructor.
3. In the main, create an object from the parent class and an object from the child class and test your functions
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.