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

Another question on Business

question
Business, 21.06.2019 21:00
In addition to having a bachelor's degree in accounting, a certification will increase a tax accountant's job opportunities and allow them to file reports with the
Answers: 1
question
Business, 22.06.2019 02:30
Sweeten company had no jobs in progress at the beginning of march and no beginning inventories. the company has two manufacturing departments--molding and fabrication. it started, completed, and sold only two jobs during march—job p and job q. the following additional information is available for the company as a whole and for jobs p and q (all data and questions relate to the month of march): molding fabrication total estimated total machine-hours used 2,500 1,500 4,000 estimated total fixed manufacturing overhead $ 10,000 $ 15,000 $ 25,000 estimated variable manufacturing overhead per machine-hour $ 1.40 $ 2.20 job p job q direct materials $ 13,000 $ 8,000 direct labor cost $ 21,000 $ 7,500 actual machine-hours used: molding 1,700 800 fabrication 600 900 total 2,300 1,700 sweeten company had no underapplied or overapplied manufacturing overhead costs during the month. required: for questions 1-8, assume that sweeten company uses a plantwide predetermined overhead rate with machine-hours as the allocation base. for questions 9-15, assume that the company uses departmental predetermined overhead rates with machine-hours as the allocation base in both departments. 1. what was the company’s plantwide predetermined overhead rate? (round your answer to 2 decimal places.) next
Answers: 2
question
Business, 22.06.2019 03:30
Sarah salesrep is brand new to her job selling "lifetime" printers that never need replacement ink cartridges. the problem is that these printers cost ten times more than a regular printer, so it is difficult to get prospective buyers to understand the cost savings of buying it. to break through the barrier and begin making sales, sarah should use a analysis that highlights her printer's lower cost.
Answers: 3
question
Business, 22.06.2019 07:30
What is the relationship between the national response framework and the national incident management system (nims)? a. the national response framework replaces the nims, which is now obsolete. b. the response protocols and structures described in the national response framework align with the nims, and all nims components support response. c. the nims relates to local, state, and territorial operations, whereas the nrf relates strictly to federal operations. d. the nims and the national response framework cover different aspects of incident management—the nims is focused on tactical planning, and the national response framework is focused on coordination.
Answers: 3
You know the right answer?
Mountain Coffee wants a program that allows a clerk to enter the number of pounds of coffee ordered,...
Questions
question
Mathematics, 20.08.2019 19:10
question
Mathematics, 20.08.2019 19:10