Question: ( Java program ) A phone banking system has four different types of options. Each option has its own requirements from the caller:The list of
Java programA phone banking system has four different types of options. Each option has its own requirements from the caller:The list of options:: Inquiring about account type The system should prompt the caller to enter his account number. If the account number is an odd number, the account is Checking account; otherwise it is a Savings account. : Inquiring about banks working hours The system should ask the user if he is inquiring about weekdays by entering D or weekends by entering E If D then Bank working hours during weekdays are from AM to PM If E then Bank working hours during weekends are from AM to PM: Withdraw The system should ask for amount of money to be withdrawn. If the callers account balance after deduction is less than the caller should be informed that No available funds to perform the transaction and the transaction should be aborted; otherwise the system should proceed with the withdraw and show available
funds after deduction. : Deposit The system should ask for amount of money to be deposit. Assume the amount in Integer. The system adds the amount to the callers account balance and displays the available funds after deposit. Your program should use a switch statement to display the menu different options You should also have a variable of type Integer to store the callers account balance. You can assume the caller has SAR
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
