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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started