
following functionalities : a) Create an ATM cash deliver emulator application that will have the Authentication : Ask user - Account No. and PIN for login. b) Cash Withdrawal. c) View Account Balance(from user account file)
An emulator will take user amount as input through ATM machine and give the cash amount. ATM machine has the following bills of : 50 Rupees, 100 Rupees, 500 Rupees, and 1000 Rupees. If user enters such amount which cannot be cash with given bill of rupees then prompt user: a) ?Please Enter Valid Amount!..?. b) ?Your amount must be at least in multiple of 50.? c) ?Your amount is larger than currently available amount in ATM? Note : ATM has limited numbers of bills that decreases per transaction if there is no cash in ATM then prompt user to ?Sorry!.. No Amount? Print a receipt after transaction on user choice that will have description as follows: 1000 X 1 = 1000 500 X 1 = 500 100 X 4 = 400 50 X 1 = 50 Total Amount: 1950 Rs. Thank You For Using HPES Bank
Note: 1. Maintain a separate user account file per user. User Account File Deatils: File Name : AccountNumber(Unique, eg HPES1001) File Content: File will have following details. a)UserName b)UserPIN c)Balance
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.