Question: Hello I need help with a C programming question. I sort of have an idea of how I am to tackle this, but I am
Hello I need help with a C programming question.
I sort of have an idea of how I am to tackle this, but I am unsure if I have the logic correct. I'm familiar with constructing arrays, using bubble sort to reorganize your array, and using for loops for calculations but putting all the concepts together is just not clicking for me just yet. Unfortunately, I am in an online class and the "resources" aren't too helpful.
Please provide a step by step explanation, as I really want to work this out and understand the process.
Thank you in advance!
ASSIGNMENT REQUIREMENTS:
Create menu driven program:
----utilizes switch
----utilizes 1D arrays
-----utilizes preventative coding (ex: if the user's option is invalid, the code would not execute further, but ask the user to reenter a valid option)
----utilize call by reference / call by value (where appropriate)
---outcome should carry out all menu options
Example of menu:
*** BANKING MENU ***
[[G]et 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
Please write in C.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
