Skip to content

oledibefrancis/Object-Oriented-Programming-cpp

Repository files navigation

Object-Oriented-Programming-cpp

Code Description

Defined a class bankAccount to store a bank customer’s account number and balance. Derived the class checkingAccount and savingAccount from the class bankAccount. This class inherits members to store the account number and the balance from the base class(bankAccont).

Features of bankAccount Class

  • Sets the account number
  • Retrieves the account number
  • Deposit and withdraw money tapped
  • Prints account information

Features of savingAccount Class

  • Sets the interest rate, minimun balance and service charge
  • Retrieves the interest rate, minimun balance and service charge
  • Post interest
  • Verifies if the balance is less than the minimum balance
  • Withdraw (override the method of the base class), and print account information

Features of checkingAccount Class

  • Sets the intrest rate
  • Retrieve the intrest rate
  • Post interest
  • Withdraw (override the method of the base class), and print account information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages