Question: WRITE A C FUNCTION PLEASE HELP Purpose: Introduce using Visual Studio to create, edit, debug and compile a simple C program. Scenario: You want to

WRITE A C FUNCTION
PLEASE HELP  WRITE A C FUNCTION PLEASE HELP Purpose: Introduce using Visual Studio

Purpose: Introduce using Visual Studio to create, edit, debug and compile a simple C program. Scenario: You want to determine how the total cost of an item you buy at a retail store including tax. For example: if you buy an item for $72.35 what will be the total if the tax rate is 7.75%? Inputs: Present the user with a nicely worded prompt asking for the price of the item. Processing: Call a tax function that will: 1. Receive the price of the item as a double 2. Calculate the tax on the item (assume the tax rate is 7.75%) 3. Return the calculated tax and add to the price of the item. 4. Report to the user the total of the price and tax added together. Output: Display a nicely worded message that indicates the total of the item and tax. Submit: Paste the raw c code into the assignment in Canvas Screen Print: - O X C:\Users burgher source repos PopProject1-Spring2020\De... Total Cost Calculator What is the price of the item: 100.00 The total is: 107.75 Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!