Question: C++ language Write a program that computes 7 percent tax on the total of the following three items: Dozen Eggs $2.99, Cereal $4.23 and Milk

 C++ language Write a program that computes 7 percent tax on

C++ language

Write a program that computes 7 percent tax on the total of the following three items: Dozen Eggs $2.99, Cereal $4.23 and Milk $1.49 Create variables that represent each item then assign the cost of each item into each of the three variables- use meaningful variable names. Create another variable that totals the three items together and output that result to the screen with a label. Compute the tax which is 7 percent of the total and display that to the screen with a label. The finally- add the tax to the total for a final total and display that to the screen with a label. If you want you output to look like dollars and cents, add #include at the top before using namespace std; then also add: cout

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!