Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 608 Bytes

File metadata and controls

8 lines (6 loc) · 608 Bytes

Bank Account App

This repository involves a Ruby class for managing a bank account. Main.rb - On this file you need to create a bank account by creating an object with an account number, name & bank balance. Account.rb - This page involves the methods to modify your balance. By calling each of these methods you can work on the account balance in your account get_credit: gives you an final amount after your deposit get_debit: gives your final amount after your withdrawal transfer: transfer your money to another account.

These methods will also check the amount you give in with each method.