Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Help me make a c program that has a character array able to store a welcome message. And an array with a float database to
Help me make a c program that has a character array able to store a welcome message.
And an array with a float database to store the prices of the items.
Prompt the user to enter how many items they gave to total and create an array of that size.
Use a for loop to prompt and read the number of items.
You will need to pass the prices to a function to create and compute the total including the sum of the prices and a sales tax of
The function must use a acummaltaing total statement to compute the total sales.
The function must add the sales tax and return the total including tax to the main program.
The main progran outputs the grand total.
You must output the total before the tax before the output with the total with tax.
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