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 17:50
When borrowers want funding to pay for different projects, they go to the loanable funds market and acquire funds through either indirect finance or direct finance. below, you are given five different scenarios. is each an example of direct finance or indirect finance?
Answers: 2
question
Business, 21.06.2019 21:30
Peninsula products has just applied for a loan at your bank. when reviewing peninsula's books for the year that just ended, you notice that the firm uses the fair value option for its bonds payable. you also see that the firm recorded a $55,000 debit in its bonds payable account and a $55,000 credit in its unrealized holding gain or loss"income account. over that same period, interest rates decreased by about 0.5 percent. how should this information affect the bank's decision as to whether to grant peninsula a loan? a : the bank should strongly consider giving a loan to peninsula because the changes in firm's bonds payable and unrealized holding gain or loss"income accounts suggest that peninsula has seen an increase in its credit rating over the past year. b : the bank should put little emphasis on the changes in peninsula's bonds payable and unrealized holding gain or loss"income accounts because these changes are likely the result of the rise in interest rates. c : the bank should hesitate before giving a loan to peninsula because the changes in firm's bonds payable and unrealized holding gain or loss"income accounts suggest that peninsula has seen a decline in its credit rating over the past year. d : the bank should put little emphasis on the changes in peninsula's bonds payable and unrealized holding gain or loss"income accounts because these changes are likely unrelated to either interest rates or the firm's credit rating.
Answers: 2
question
Business, 22.06.2019 01:00
You are the manager in charge of global operations at bankglobal – a large commercial bank that operates in a number of countries around the world. you must decide whether or not to launch a new advertising campaign in the u.s. market. your accounting department has provided the accompanying statement, which summarizes the financial impact of the advertising campaign on u.s. operations. in addition, you recently received a call from a colleague in charge of foreign operations, and she indicated that her unit would lose $8 million if the u.s. advertising campaign were launched. your goal is to maximize bankglobal’s value. should you launch the new campaign? explain. pre-advertising campaign post-advertising campaign total revenues $18,610,900 $31,980,200 variable cost tv airtime 5,750,350 8,610,400 ad development labor 1,960,580 3,102,450 total variable costs 7,710,930 11,712,850 direct fixed cost depreciation – computer equipment 1,500,000 1,500,000 total direct fixed cost 1,500,000 1,500,000 indirect fixed cost managerial salaries 8,458,100 8,458,100 office supplies 2,003,500 2,003,500 total indirect fixed cost $10,461,600 $10,461,600
Answers: 2
question
Business, 22.06.2019 02:00
What is an example of a good stock to buy in a recession? a) cyclical stock b) defensive stock c) income stock d) bond
Answers: 1
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, 01.02.2021 20:00
question
Mathematics, 01.02.2021 20:00
question
Mathematics, 01.02.2021 20:00
question
Biology, 01.02.2021 20:00
question
Mathematics, 01.02.2021 20:00
question
Mathematics, 01.02.2021 20:00
Questions on the website: 13722361