ATM machine
As owners of AwesomeSuperPuperBank, we want to have a simple prototype of our new ATM machine that allows our customers to:
- view their account balance
- withdraw money
Our bank already has two clients: Volodymyr and Iryna. The bank also has liquid assets (i.e. cash) in the amount of ₴337 (in different banknotes) which our ATM machine can operate with.
banknotes: 500: 0 200: 0 100: 2 50: 1 20: 2 10: 4 5: 1 2: 0 1: 2
accounts:
3321:
name: 'Volodymyr'
password: 'mypass'
balance: 422 5922:
5922:
name: 'Iryna'
password: 'ho#ll_§1'
balance: 5301
Here’s one of possible application flows:
Please Enter Your Account Number:
> 3321 Enter Your Password:
> mypass
Hello, Volodymyr!
Please Choose From the Following Options: 1. Display Balance 2. Withdraw 3. Log Out
> 1
Your Current Balance is ₴422
Please Choose From the Following Options: 1. Display Balance 2. Withdraw 3. Log Out
> 2
Enter Amount You Wish to Withdraw:
> 100000
ERROR: INSUFFICIENT FUNDS!! PLEASE ENTER A DIFFERENT AMOUNT:
> 420
ERROR: THE MAXIMUM AMOUNT AVAILABLE IN THIS ATM IS ₴337. PLEASE ENTER A DIFFERENT AMOUNT:
> 329
ERROR: THE AMOUNT YOU REQUESTED CANNOT BE COMPOSED FROM BILLS AVAILABLE IN THIS ATM. PLEASE ENTER A DIFFERENT AMOUNT:
> 320
Your New Balance is ₴102
Please Choose From the Following Options: 1. Display Balance 2. Withdraw 3. Log Out
> 1
Your Current Balance is ₴102
Please Choose From the Following Options: 1. Display Balance 2. Withdraw 3. Log Out
> 3
Volodymyr, Thank You For Using Our ATM. Good-Bye!
Please Enter Your Account Number:
> 5922 Enter Your Password:
> 1234567
ERROR: ACCOUNT NUMBER AND PASSWORD DON'T MATCH
Please Enter Your Account Number:
> 5922
Enter Your Password:
> ho#ll_§1
Hello, Iryna!
...
Current freelance projects in the category Web Programming
Basketball Coaching Education Platform + Custom CMSBasketball Coaching Education Platform + Custom CMSProject Overview We are looking for an experienced web development team or full-stack developer to build a modern basketball coaching education platform. The website will provide basketball coaches with access to educational… Databases & SQL, Web Programming ∙ 9 minutes back ∙ 5 proposals |
Integration between Keycrm and Tilda
18 USD
It is necessary to set up correct integration between Tilda and KeyCRM. Currently, orders are being created, products are being transmitted, but there are issues with the transmission of product characteristics (sizes) and the display of data in the funnels. It is necessary… Content Management Systems, Web Programming ∙ 26 minutes back ∙ 5 proposals |
I am looking for a programmer for OpenCart.Good day 1) It is necessary to implement on the website dneprkomfort.dp.ua A module for Ukrainian banks has been purchased, and we have already integrated Mono Bank Here is an example from our competitor It is necessary to implement installment payments, purchase in parts… Web Programming, Data Parsing ∙ 1 hour 26 minutes back ∙ 14 proposals |
I am looking for a sysadmin assistant, programmer.
22 USD
Hello. I am looking for assistants. 1. Frontend, backend programmer, reactjs, postgresql, redis, php, nodejs 2. System administrator debian, ubuntu, proxmox, routeros, wireguard Please respond only if you have more than 5 years of experience in these areas. Captcha for… System & Network Administration, Web Programming ∙ 1 hour 40 minutes back ∙ 11 proposals |
Multiregionality on Laravel
111 USD
What is required: Implement a GEO-structure (Country -> Region -> City) as a custom plugin, so as not to modify the CMS core. For each such GEO-page in the admin panel, there should be standard fields: H1, Title, Description, and a field for SEO text. Frontend (city selection… Web Programming ∙ 4 hours 47 minutes back ∙ 36 proposals |