Question: Please help me with the solution Write a java program that: 1. Create a file with the name BankAccount.txt and has the following content (the
Write a java program that: 1. Create a file with the name "BankAccount.txt" and has the following content (the account name, account number and balance of each account) The file will look like this: Amani Ali 12345432 500 Sarah Mohammad 456663343 4000 Omimah khalid 998787655 2000 Monirah Ahmad 55433424 10000 2. Read the file "BankAccount.txt" content one by one and increase the balance by 50% for each account, then write the result in a new file with the name "UpdatedAccount.txt". The new file content should have the following structure: Amani Ali 12345432 750 Sarah Mohammad 456663343 6000 Omimah khalid 998787655 3000 Monirah Ahmad 55433424 15000 3. Read an account number from the user and search the file UpdatedAccount.txt", then print all the information of this account if exists, other wise display a message "this account not found
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
