Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello I need help with this assignment. Make and a working C program that can be used to purchase items from an online store and
Hello I need help with this assignment. Make and a working C program that can be used to purchase items from an online store and to keep/maintain track of a bank account balance set by the user. Program Operations: 1) The program should start with an introduction screen that contains the programmer's block.(1 mark) 2) The program will ask the user to enter an initial deposit in the user's bank account (ex. $4500.00). 3) The program will then display a main menu that includes 4 options: - An option to enter an online store that will display a sub menu that contains a minimum of 3 items to purchase from, along with their prices. The user has the option to purchase an item and the program will continue to ask the user if they wish to purchase more items or to go back to the main menu. Values of items purchased including a 13% TAX will be deducted from the user's initial deposit. If the user does not have enough money to purchase an item, the program will not allow the purchase and will ask the user to go back to the main menu to deposit more money. - A banking option that will display a sub menu that includes an option to check the user's current balance, an option to allow the user to deposit more funds to their current balance and finally an option to return to the main menu. - A help option that will display a step-by-step instruction on how to use the program. - And finally, an option to terminate the program. It is required to use the following C language constructs: User-Defined Functions Loops Decisions . Code that will prevent "garbage input" from the user for ALL inputs
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