Assume that the variable float sale amt contains the dollar amount of a sales transaction, e.g....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Assume that the variable float sale amt contains the dollar amount of a sales transaction, e.g. $1,500, Write a flow of control statement that does the following: If the transaction amount is $10,000 or less, assess a 7% sales tax. o Display the amount of the transaction, plus tax. . If the transaction amount more than $10,000, assess a 5% sales tax. Display the amount of the transaction, plus tax. For example: If the user enters 1200, the output is: 1284 If the user enters 24000, the output is: 25200 Assume that the variable float sale amt contains the dollar amount of a sales transaction, e.g. $1,500, Write a flow of control statement that does the following: If the transaction amount is $10,000 or less, assess a 7% sales tax. o Display the amount of the transaction, plus tax. . If the transaction amount more than $10,000, assess a 5% sales tax. Display the amount of the transaction, plus tax. For example: If the user enters 1200, the output is: 1284 If the user enters 24000, the output is: 25200
Expert Answer:
Answer rating: 100% (QA)
Heres how the program works It takes the transaction amount as input from the u... View the full answer
Related Book For
Introductory Financial Accounting for Business
ISBN: 978-1260299441
1st edition
Authors: Thomas Edmonds, Christopher Edmonds
Posted Date:
Students also viewed these databases questions
-
A.) Could you construct an influence line of shear @E with the values for A, left & right of E, B, C, and D? B.) Could you construct an influence line of moment @E with the values of A, E, B, C, and...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
The following is a list of 12 control plans from this chapter: Control Plans A. Batch sequence check B. Confirm input acceptance C. Programmed edit checks D. Manual agreement of batch totals E....
-
In each case, verily that the points P and Q lie on the line. x = 4 - t P(2, 3, -3), Q(-1, 3, -9) y = 3 z = 1 - 2t
-
If each of the three links of the mechanism has a weight W, determine the angle for equilibrium. He spring, which always remains vertical, is unstretched when = 0.
-
Prepare a report form of balance sheet, assuming that the current portion of the note payable is $18,200. Enter account decreases and outflows as negative amounts.
-
The data in Table 19.5 originate from the 1991 edition of the Historical Loss Development Study, published by the Reinsurance Association of American. These data have been widely used to illustrate...
-
Measurements show that steady-state conduction through a plane wall without heat generation produced a convex temperature distribution such that the mid- point temperature was 6.To higher than...
-
Table below shows the demand for haircuts from seniors and other customers on an average weekday in the local hairdressing shop. Price of Haircut Quantity Demanded by Seniors 2 Quantity Demanded by...
-
Dobson Manufacturing Company uses a job order cost system with manufacturing overhead applied to products on the basis of direct labor dollars. At the beginning of the most recent period, the company...
-
Jurong Bhd operates the standard costing system. The standard/budgeted material costs for producing 400 litres of cooking oil are as follows: Materials Quantity (litre) Unit Cost (RM) Amount (RM) A...
-
In the game between Intel and AMD in the Challenge Solution, suppose that each firm earns a profit of 9 if both firms advertise. What is the new subgame perfect Nash equilibrium outcome? Show in a...
-
Every few months, The Economist publishes its Big Mac Index. Using the current exchange rates, it compares the U.S.-dollar price of Big Macs in several countries. It then concludes that countries in...
-
Prepare a full feasibility analysis, including Economic, Operational, Schedule, Legal, and Technical analyses for the system you are suggesting in problem 1. Your analysis should be no more than 30...
-
The diagram below shows the demand for foreign currency and the supply of foreign currency. The equilibrium exchange rate is e * . a. Suppose the Bank of Canada decides to fix the exchange rate at e...
-
If \(g(x)=2^{3 x-1}+e^{-x} \cos x\), evaluate \(d g / d x\) when \(x=1.37\), by: a. Using the subs command. b. Conversion into a MATLAB function.
-
Which of the following best describes a project stakeholder? Select one: O a. Someone who works in an area affected by the project. O b. All of them are stakeholders. O c. The project manager. O d. A...
-
Periwinkle Company is a multinational organization. Its Parts Division is located in Lavender Land, while its Assembly Division is located in North Orchid. During the current year Periwinkle Companys...
-
What is the primary source of information for preparing the financial statements?
-
What portion of cost of goods available for sale is shown on the balance sheet? What portion is shown on the income statement?
-
What is the difference between gross pay and net pay for an employee?
-
What percentage of women have red blood cell counts in the normal range from 4.2 to 5.4? Assume that red blood cell counts of women are normally distributed with a mean of 4.577 and a standard...
-
Find P 80 , the 80th percentile for the red blood cell counts of women.
-
A new integrated circuit board is being developed for use in computers. In the early stages of development, a lack of quality control results in a 0.2 probability that a manufactured integrated...
Study smarter with the SolutionInn App