Skip to content

divijm/CFA-ATM-terminal-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CFA ATM Terminal App

Project Name

ATM Terminal App

Description

Create an ATM app which has simple functionality of being able to deposit and withdraw.

Installation Instructions

ATM Terminal App is written in Ruby and must have it installed (Ruby 2.4 or higher).

  1. Clone the repo.

  2. To run the file in terminal: $ ruby ATM.rb (and similarly for ATM2.rb and ATM3.rb)

File History

1st attempt: ATM.rb

Features:

  • multiple methods
  • loops
  • if statements
  • getting user input at multiple stages of the app
  • ability to withdraw
  • ability to deposit

Imgur

2nd attempt: ATM2.rb

Additions:

  • ability to show balance after withdrawal or deposit
  • ability to exit the ATM if nothing more needs to be done

Imgur

3rd attempt: ATM3.rb

Additions:

  • ability to set an initial balance for their personal account
  • ability to withdraw a certain amount
  • ability to deposit a certain amount
  • ability to have an ATM balance
  • ability to have a pin verification
  • ability to have a account number verification

Imgur

Authors

Divij Mehra

Mentorship and insight was sought from Trent, Jamie, Peter and other peer students.

Contact Info

Reach out to me via GitHub and email (divij.mehra.16@gmail.com)