Question: Write a C program to do the following. i) Create a text file called transaction.txt manually and type following transaction details of a customer

Write a C program to do the following. i) Create a text 

Write a C program to do the following. i) Create a text file called transaction.txt manually and type following transaction details of a customer excluding headings. Here D - Deposit ii) iii) iv) W - Withdrawals Transaction type D Transaction amount(Rs.) 1000 D 2000 500 1500 W D The bank also needs to store account details of their customers in a text file called account.txt. The account details consist of account no., NIC no., customer name and account balance. Input the account details of four customers from the key board and write to the text file account.txt. Ask customer to input account number from the keyboard and read the relevant account balance from account.txt Read the transaction details from the transaction.txt file and perform them on the account mentioned in part (III) v) Display updated balance of the account. Activate Go to Sett

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!