Code Monkey home page Code Monkey logo

eatmsirajulapp's Introduction

Problem:E-ATM:

This simple project will essentially create a simulation of an ATM within a Windows Console App. Just like an ATM, the program should have at least the following features:

Check whether an input โ€“ card number - is recorded correctly. Verifying user by asking for a PIN number. In case of negative verification, logging out user. In case of positive verification, showing three options : check account balance, cash withdrawal and exit. Give user ability to withdraw up to $1000 worth of cash in one transaction with total transactions limited to 3 per day. card numbers = [1, 2 ,3]

pin numbers = [123, 234, 456 ]

balance = [500, 200, 800]

Sample program behavior

what is your card number : 1

pin number : 123

what do you want to do: 1

enter amount: 200

Cash withdrawal successful. Your account balance is 300

Do you want to quit?

If the user doesnt quit, take to the step of balance check or cash withdrawal.






output:

Enter Card number 1

Enter Pin Number 123

Enter 1 for check Balance,2 for withdrawal Cash, 3 For help, 4  For  Another Acoun,0 for exit
1
Your curret Balance is:500

Enter 1 for check Balance,2 for withdrawal Cas, 3 For help,4  For  Another Acoun,0 for exit
2

Enter  Amount For WithDraw 2
Congratulation ! Cash  withdraw = 2 Taka. Your Current Balance is = : 498

Enter 1 for check Balance,2 for withdrawal Cas, 3 For help,4  For  Another Acoun,0 for exit
2

Enter  Amount For WithDraw 2
Congratulation ! Cash  withdraw = 2 Taka. Your Current Balance is = : 496

Enter 1 for check Balance,2 for withdrawal Cas, 3 For hel,4  For  Another Acoun,0 for exit
2

Enter  Amount For WithDraw 2
Congratulation ! Cash  withdraw = 2 Taka. Your Current Balance is = : 494

Enter 1 for check Balance,2 for withdrawal Cas, 3 For help,4  For  Another Acoun,0 for exit
2

Enter  Amount For WithDraw 2
Congratulation ! Cash  withdraw = 2 Taka. Your Current Balance is = : 492

Enter 1 for check Balance,2 for withdrawal Cash, 3 For help,4  For  Another Acoun,0 for exit
2

-----------------------Warrnning----------------------------

you can not withdraw more than 3 times in a day
You can not withdraw 2000 Taka  in One transactionn
You can not withdraw more than  3,000 Taka  in One Day

-------------------------------------------------------------
-
Enter 1 for check Balance
,2 for withdrawal Cash, 3 For help,4  For  Another Acoun,0 for exit
1
Your curret Balance is:492
-
Enter 1 for check Balance,2 for withdrawal Cash, 3 For help,4  For  Another Acoun,0 for exit
4

Enter Card number 234
-Invalid Card Number!!!

Enter Card number 2

Enter Pin Number 234

Enter 1 for check Balance,2 for withdrawal Cash, 3 For help,4  For  Another Acount,0 for exit
1
Your curret Balance is:400

Enter 1 for check Balance,2 for withdrawal Cash, 3 For help,4  For  Another Acoun,0 for exit
2

Enter  Amount For WithDraw 56
Congratulation ! Cash  withdraw = 56 Taka. Your Current Balance is = : 344

Enter 1 for check Balance,2 for withdrawal Cash, 3 For help,4  For  Another Acoun,0 for exit
4

Enter Card number 3

Enter Pin Number 345

Enter 1 for check Balance, for withdrawal Cash,3 For help,  For  Another Acount,0 for exit
1
Your curret Balance is:500

Enter 1 for check Balance,2 for withdrawal Cash, 3 For help,4  For  Another Acoun,0 for exit
2

Enter  Amount For WithDraw 56
Congratulation ! Cash  withdraw = 56 Taka. Your Current Balance is = : 444

Enter 1 for check Balance,2 for withdrawal Cash, 3 For help,4  For  Another Acoun,0 for exit
2

Enter  Amount For WithDraw 34
Congratulation ! Cash  withdraw = 34 Taka. Your Current Balance is = : 410

Enter 1 for check Balance,2 for withdrawal Cash, 3 For help,4  For  Another Acoun,0 for exit

eatmsirajulapp's People

Contributors

sirajulmostafa avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.