Task 2: Conditional Statements
The online banking system provides a menu with the services offered to the customers. The customer gets the service done based on the option chosen from the menu. Write a Java application to display the following menu, read the customer's choice, perform the required service, and display the account balance using appropriate conditional statements. If the account balance is below 100, then the system denies the service.
Sample Input and Output:
Welcome to Online Banking System!
Select from the options below
1. Money transfer
2. Telecom bill payment
3. Mobile recharge
4. Exit
What would you like to do? 1
Enter the account no to transfer: 1234
Enter the amount: 300
Page 2 of 5
Money transferred successfully! Your Balance is 150
What would you like to do? 2
Enter the landline number/GSM number: 2234567
Enter the Telecom bill amount: 55
Insufficient Balance!
What would you like to do? 4
Thank you for using our online banking system!