Problem Statement:Write a c++ program to define a class for a bank account that includes the following data members: Name of the depositor Account Number Type of account Balance amount in the accountThe class also contains the following member functions: A constructor to assign initial values Deposit function to deposit some amount. It should accept the amount asparameter. Withdraw function to withdraw an amount after checking the balance. Itshould accept the amount as parameter. Display function to display name and balance.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here