Question: Create the c++ program using visual studio 2013 prefered 2. Write a program that inputs the name, quantity, and price of many items (until the

Create the c++ program using visual studio 2013 prefered
 Create the c++ program using visual studio 2013 prefered 2. Write

2. Write a program that inputs the name, quantity, and price of many items (until the user enters "no" as an item name. Output a bill with a tax rate of 13%. All real numbers should be output to two decimal places. The bill should be formatted in columns with 30 characters for the text, 10 characters for the numbers. Also print the most and least costly items. Sample input and output is shown as follows: Input: Input name of item 1: Lollipops Input quantity of 1: 10 Input price of item1: 0.50 Input name of item 2: diet soda Input quantity of 2: 3 Input price of item 2: 1.25 Input name of item 3: bread Input quantity of 3: 20 Input price of item 3: 0.5 Input name of item 6: no Output Bill: Number of items: Total quantity Subtotal 13% sales tax: Total: 18.75 2.44 16.31 Most costly item: Least costly item: bread diet soda

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!