Question: Need to write a program c program that does the following. Declares variables with float (real) data types. Assigns the tax rate = .08 Asks

Need to write a program c program that does the following.

  • Declares variables with float (real) data types.
  • Assigns the tax rate = .08
  • Asks the user to enter the sales amount
  • Computes the sales tax by multiplying the sales by the tax rate
  • Displays the sales tax with the appropriate message
  • Create an assignment statement that computes the total sales, including the tax amount.
  • Output a final message along with the total sales amount

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 Programming Questions!