subject
Business, 18.06.2020 22:57 jfrjtwrg

Mountain Coffee wants a program that allows a clerk to enter the number of pounds of coffee ordered, the price per pound, and whether the customer should be charged a 3.5% sales tax. The program should calculate and display the total amount the customer owes. Use an int variable for the number of pounds, a double variable for the price per pound. and a char variable for the sales tax information. a. Create an IPO chart for the problem, and then desk-check the algorithm twice. For the first desk-check, use 5 as the number of pounds and 13.69 as the price per pound; the customer should be charged the sales tax. For the second desk-check, use 3 as the number of pounds and 11.59 as the price per pound; the customer should not be charged the sales tax. b. List the input, processing, and output items, as well as algorithm, in a chart. Then code the algorithm into a program. c. Desk check the program using the same data used to desk-check the algorithm. d. If necessary, create a new project named Introductory11 Project, and save it in the Cpp8/Chap05 folder. Enter your C++ instructions into a source file named Introductory11.cpp. Also, enter appropriate comments and any additional instructions required by the compiler. Display the total amount owed in fixed-point notation with two decimal places. Test the program using the same data used to desk-check the program.

ansver
Answers: 1

Other questions on the subject: Business

image
Business, 21.06.2019 16:30, crystalclear99
Aland development company purchases several acres of land adjacent to a wildlife reserve. it plans to build a new community, complete with shops and schools. green sands, a local environmental group, complains that the company's proposed building methods will disrupt the area's ecological balance. the company wants to respect the local ecology but also wants to build its development. the company decides to schedule a meeting with green sands's representatives to make choices about the property that are agreeable to both sides. which strategy would be most effective in this situation?
Answers: 2
image
Business, 22.06.2019 01:30, AbyssAndre
Can you post a video on of the question that you need on
Answers: 2
image
Business, 22.06.2019 01:40, foreverrocky12p2asun
At the local level, the main role of ctsos is to encourage students to become urge them to programs and competitive events. 1. a. interns b. trainees c. members 2. a. participate b. train c. win
Answers: 2
image
Business, 22.06.2019 02:00, sciencegeekgirl2017
Corporations with suppliers, vendors, and customers all over the globe are referred to as : a) global corporations b) international corporations c) multinational corporations d) multicultural corporations
Answers: 2
You know the right answer?
Mountain Coffee wants a program that allows a clerk to enter the number of pounds of coffee ordered,...

Questions in other subjects:

Konu
English, 29.05.2020 21:03
Konu
Social Studies, 29.05.2020 21:03