Answered step by step
Verified Expert Solution
Link Copied!

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 6%.
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.
The output needs to look the same and if possible a flowhchart to corralate with it
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions