Question: Need help with writing this C program... Menu Driven-Array Assignment Outcome: Demonstrate the ability to design a menu driven program. Demonstrate the use of a

Need help with writing this C program...

Menu Driven-Array Assignment

Outcome:

Demonstrate the ability to design a menu driven program.

Demonstrate the use of a switch statement

Demonstrate the use of 1D arrays.

Demonstrate the use of user preventive coding

Demonstrate the use of a bubble sort.

Demonstrate the use of functions along with call by value and call by reference where necessary.

Program Specifications:

You are to DESIGN and WRITE a menu driven program using a menu like the sample menu below. Should the user select [M] the program will ask the user to enter a single deposit into the bank account. The rest of the menu options are self-explanatory.

*** BANKING MAIN MENU ***

[M]ake a new deposit

[S]um of all deposits

[D]eposits will be displayed from highest to lowest deposit

[A]verage of all deposits

[L]owest deposit will be displayed

[Q]uit the program

Your program should perform all of these menu options and after performing each task, return to the menu.

Submission Requirements:

Requirements will be same as the first assignment which will be the same for all future assignments.

Use a bubble sort to order the deposits after each new deposit is entered. This will make some of the options much easier.

DO NOT:

Use global variables

Use goto statements

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!