Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

What is the function of macrophages?

Answered: 1 week ago

Question

3. What is a reference currency?

Answered: 1 week ago