The Woody Furniture Company sells several types of styles of chairs. Write a program that will...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The Woody Furniture Company sells several types of styles of chairs. Write a program that will take from the keyboard input • name of a chair style, • number of chairs sold of that style, • price of each chair of that style. Do this for three chairs (do not use loops i.e. you will need three chair name variables, three number of chairs variables, three price variables, and three input statements for each data.) After all the input, the program will calculate how much is sold for each chair style that was entered. The program will then display a table of style, price per chair, number of chairs sold, and total amount sold for the style. At the end of the table, the program will display the words TOTAL and then the total of sales. The Woody Furniture Company sells several types of styles of chairs. Write a program that will take from the keyboard input • name of a chair style, • number of chairs sold of that style, • price of each chair of that style. Do this for three chairs (do not use loops i.e. you will need three chair name variables, three number of chairs variables, three price variables, and three input statements for each data.) After all the input, the program will calculate how much is sold for each chair style that was entered. The program will then display a table of style, price per chair, number of chairs sold, and total amount sold for the style. At the end of the table, the program will display the words TOTAL and then the total of sales.
Expert Answer:
Answer rating: 100% (QA)
It looks like you want to create a program to calculate the total sales for different chair styles b... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Pool Plans The total length is between 10 and 16 feet. The width is between 6 and 8 feet. The deepest part of the pool is no more than 4 feet deep. The total volume is 300 cubic feet or less. What...
-
1. John was employed by ABC Accounting, a CPA firm, for three years. As a condition of employment, he was required to sign a covenant not to compete. He left the firm in 2020 to start a new...
-
1. Weekend breaks sell for 300 each. Ten per cent is payable when the holiday is booked and the remainder after two months. 2. Travel agents are paid a commission of 10 per cent of the price of the...
-
Hakeem purchased some Apple iPhone. To make a profit he decides to use the formula below profit = iPhone cost * 2.5 Create 2 function. Main() Have the while loop call the profitcalc() and request if...
-
The intensity of the Suns light in the vicinity of the Earth is about 1000 W/m2. Imagine a spacecraft with a mirrored square sail of dimension 1.0km. Estimate how much thrust (in newtons) this craft...
-
Static Budget versus Flexible Budget The production supervisor of the Machining Department for Hagerstown Company agreed to the following monthly static budget for the upcoming year: Hagerstown...
-
Discuss how the Privacy Act of 1974 and the Health Insurance Portability and Accountability Act of 1996 safeguard a patients privacy.
-
A researcher estimates that the average height of the buildings of 30 or more stories in a large city is at least 700 feet. A random sample of 10 buildings is selected, and the heights in feet are...
-
65 70 71 75 93 94 75 6 68 80 a) Calculate the i) mean 2. The following is a list of unit 1 test grades for a sample of selected students from MATH 1080. ii) median iii) mode iv) standard deviation...
-
Spears was seeking employment and negotiating both with Amazon.com and with a firm called Intelligrated. Amazon made 2 offers to Spears which he rejected, because he believed they did not pay enough,...
-
For the following reaction, 33.8 grams of iron are allowed to react with 19.3 grams of oxygen gas. Iron (s) + oxygen (g) Iron(III) oxide () What is the maximum amount of tron(III) oxide that can be...
-
The sale of a building for cash would be classified as what type of activity on the cash flow statement? A. Operating. B. Investing. C. Financing.
-
HVG, LLC paid $12,000 of cash to a real estate company upon signing a lease on 31 December 2005. Th e payment represents a $4,000 security deposit and $4,000 of rent for each of January 2006 and...
-
The carrying value of inventories reflects: A. their historical cost. B. their current value. C. the lower of historical cost or net realizable value.
-
Resources controlled by a company as a result of past events are: A. equity. B. assets. C. liabilities.
-
Which of the following would most likely signal that a company may be using aggressive accrual accounting policies to shift current expenses to later periods? Over the last five year period, the...
-
Which of the following expenses would NOT appear in a cash budget? (1 Point) b. Wages expense c. Interest expense a. Depreciation expense d. Marketing expense
-
After graduating from college and working a few years at a small technology firm. Preet scored a high-level job in the logistics department at Amex Corporation. Amex sells high-quality electronic...
-
Fill in the blanks in each of the following statements: a) The active control is said to have the ______. b) The Form acts as a(n) ______for the controls that are added. c) GUIs are ______driven. d)...
-
Fill in the blanks in each of the following statements: a) Method ____________of class Process can open files and web pages, similar to the Run... command in Windows. b) If more elements appear in a...
-
Modify the app of Exercise 7.30 to count the number of guesses the player makes. If the number is 10 or fewer, display Either you know the secret or you got lucky! If the player guesses the number in...
-
For each of the following sets of numbers, calculate a \(95 \%\) confidence interval for the mean ( \(\sigma\) known); before going through the steps in calculating the confidence interval, the...
-
Consider a 3 -year \(10 \%\) coupon bond. The underlying short rate of interest follows a lattice with initial value of \(R=1.15\) and then has an factor of 1.02 , a down factor of .99 , and...
-
Using the density function of the stopping time probability for a fixed \(\lambda\), find the average time to the first event over the entire interval \([0, \infty)\).
Study smarter with the SolutionInn App