Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a program that will calculate and print to the screen a sales receipt. + Required:+ 1. First 3 lines of code will be

 

Create a program that will calculate and print to the screen a sales receipt. + Required:+ 1. First 3 lines of code will be three comment lines+ a. Name of the cpp file+ b. Your name+ c. Why you are doing this program+ 2. The user will enter in the number of sales items 3. The user will enter in the price for each item + 4. The user will enter in the sales tax percentage+ 5. Output+ a. Title for the output+ b. Money amount have 2 decimal point places++ c. Money amount to be aligned+ d. Boarder around the output+ 6. The user will have the ability to run this program again.+ The figure below should be used as an EXAMPLE and you should follow the format of the receipt. < 3 C. "C:\Users\jlong\Desktop\HW\cpp\Debug\hw.exe" How many sales items do you have? Enter in the value of sales item 1 : $10 Enter in the value of sales item 2: $10 Enter in the value of sales item 3 : $10 Enter in the sales tax percentage KEnter 10 for 10%): 6 ** ** SALES ** ** Total Sales ** Sales tax ** ** Grand Total ** ** RECEIPT 30.00 ** ** ** ** ** 1.80 ** ** 31.80 ** ****** ** ** Do you want to run this program again? (Y/N):

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

=1-8 What is implementation, and why is it important?

Answered: 1 week ago

Question

b. Is it an undergraduate or graduate level course?

Answered: 1 week ago

Question

The significance level is the same as a Type 2 error. T or F

Answered: 1 week ago