Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Kanji furniture company Limited purchases and sells office furniture products. The company frequently purchases and sells three main types of furniture among its furniture products:
Kanji furniture company Limited purchases and sells office furniture products. The company frequently purchases and sells three main types of furniture among its furniture products: office chairs, office desks, and office tables. The company acquires furniture from abroad companies in Turkey and China and supplies them to its prospective customers (companies or individuals). In each financial year, the company is interested to know the quantity, tax, and profit for these three furniture types frequently purchased to its prospective customers. It requires a computer program that records and reports on individual furniture types' purchasing and selling costs (in Tanzania shillings) and its corresponding quantities supplied per year. In addition, the program should report the tax paid and the net profit made for individual furniture types supplied to its customers in that year. Tax payments are calculated based on the following conditions: If the quantity supplied for a given furniture type is below 300 per year, then The tax is 15% of sales for office chairs. The tax is 20% of sales for office tables and desks. (ii) If the quantity supplied for any furniture type is at least 300 and does not exceed 750 per year, then the tax is 25% of sales; otherwise, the tax is 30%. You are required to: (a) Conduct problem analysis and design. (8 Marks) (b) Write algorithms of: (6 Marks) (i) The function to calculate tax. (ii) The function to calculate profit. (c) Explain how are you going to format and display your final outputs, as shown in (2 Marks) the sample report for the year 2021? (d) Write the Main Program, which calls two functions in part (b). Use C++ Stucture (14 Marks) to store relevant data for each furniture type. Display your output by following the report format below and using the given sample data to test your program and generate your report for 2021. REPORT FOR YEAR 2021 SN TAX PROFIT QUANTITY SOLD FURNITURE TYPE Chair Table PURCHASING PRICE 80,000 100,00 SELLING PRICE/BAG 100,000 140,000 1 2 180 900
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started