Question: Create user_interface.c and implement your user-interface. Define the following item in the main function: and pass it or its address to the database functions. MENU

Create user_interface.c and implement your user-interface.

Define the following item in the main function:

Create user_interface.c and implement your user-interface. Define the following item in the

and pass it or its address to the database functions.

MENU

The transactions must be formatted in this form.

main function: and pass it or its address to the database functions.

  • Display an introductory message at the beginning.
  • Display instructions for the menu and the menu options.
  • The user must be able to specify the menu option by typing the option name (menu options to implement are listed below).
  • If needed for the selected menu option, collect the appropriate information from the user (e.g., account # etc).
  • Display the results
  • Unless the user chose to quit the program, display the menu and ask for a menu option again.

The following menu options must be available:

  • add: Add a new record in the database
  • printall: Print all records in the database
  • find: Find record(s) with a specified account #
  • delete: Delete existing record(s) from the database using the account # as a key
  • quit: Quit the program
  • Prototype for the function is

MENU The transactions must be formatted in this form. Display an introductory

struct record * start = NULL;

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 Databases Questions!