Skip to content

kasinico/nicosimplebank

Repository files navigation

nicosimplebank

Using classes, Create a basic banking application with the following features:

Create a class called BankAccount with the following attributes:

account_number - a string balance - a float owner - a string type - a string Create a class called Bank with the following attributes:

name - a string accounts - a list of BankAccount objects Create a class called Customer with the following attributes:

name - a string accounts - a list of BankAccount objects Create a class called Transactions with the following attributes:

  1. account - a BankAccount object
  2. amount - a float
  3. type - a string The application should have the following functionality:

Create a new Bank object Create a new Customer object Create a new BankAccount object Add the BankAccount object to the Bank object Add the BankAccount object to the Customer object Print the Bank object Print the Customer object Print the BankAccount object Create a new Transaction object Add the Transaction object to the BankAccount object

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages