Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C program to manage a Bank account information system. In this project, you will be using a file to store, all necessary information.

Write a C program to manage a Bank account information system.

In this project, you will be using a file to store, all necessary information. The same information can be later on searched, retrieved, and updated.

The project should display a menu from where to choose several options:

image text in transcribed

Add record to file:

Ask for information such as account number, first name, last name and balance to be entered.

Show record from file:

Display the record corresponding to a particular account number, first name, last name, and current balance of the account holder.

Search record from file:

When the function Search record from file is executed, it shows the total records in the file. The user can then search by record number.

Update record:

When the function Update record is executed, it shows the total records in the file. The user can then edit the information by providing record number. All the data in that record is displayed and the user can enter any data to modify.

Delete record:

When the function Delete record is executed, it shows all the records in the file. The user can then enter the record number to delete.

Note: - You are not to use fread and fwrite functions.

- You can only use the following in completing the program:

a- stdio.h: printf,scanf,fprintf,fscanf,gets,puts,fputs and fgets.

b-selection statements.

c-loops.

d-functions

e-pointers.

f-files.

g- Arrays

g-strings.

count Information System*** Select one option below 1-->Add record to file 2-->Show record from file 3-Search Record from file 4--Update Record 5-->Delete Record 6-->Quit Enter your choice: 1 count Information System*** Select one option below 1-->Add record to file 2-->Show record from file 3-Search Record from file 4--Update Record 5-->Delete Record 6-->Quit Enter your choice: 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Databases Concepts And Practice

Authors: Suzanne W Dietrich

1st Edition

1119827949, 9781119827948

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago