Skip to content

engichang1467/ATM-Simulator-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ATM Simulator in GO

Writing my ATM Simulator in Golang

To run this program

go run atm.go

The Welcome page is like this

Welcome to my ATM Simulator

Enter any option to be served!

1. Withdraw
2. Deposit
3. Balance

To Deposit

Please enter amount to deposit: 1000
Thank you for depositing, new balance is: $1000.

Do you want another transection?
Press 1 to proceed and 2 to exit

To Withdraw

Please enter amount to withdraw: 90
You have withdraw $90.00 and your new balance is $910.00

Do you want another transection?
Press 1 to proceed and 2 to exit

To check Balance

You bank balance is: $910.00

Do you want another transection?
Press 1 to proceed and 2 to exit

To Exit

Thanks for using our service!!! 
Have a nice day

Releases

No releases published

Packages

No packages published

Languages