Problem:
Write a c program that will handle ATM Transactions. Such transactions includes: (1)Balance Inquiry, (2)Deposit, (3) withdrawal, (4) exit. Aside from these, the user should be presented a menu showing these transactions as possible options.
Additional Requirements:
1. Initial Balance is 5,000
2. Deposit amount should be greater than zero, if the user enters zero or negative amount, the program should print "Deposit amount should be greater than zero"
3. Withdrawal amount should not exceed the available balance, if the user does, print "Withdrawal amount exceeds the available balance".
4. Withdrawal amount should be greater than zero, if the user enters zero or negative amount, the program should print "Withdrawal amount should be greater than zero"
5. Maximum withdrawal amount is 4,000 per transaction, display another error message if the user does.
6. The program should print the current balance for every transaction.
7. The program should end if the user chooses to exit.
2007-01-08
08:29:41
·
7 answers
·
asked by
Cyberpaul
1