Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Thabo's Hardware Store Pricing Algorithm Thabo owns a hardware store and sells paint cans. Each paint can contain 5 litres of paint. Thabo calculates the
Thabo's Hardware Store Pricing Algorithm
Thabo owns a hardware store and sells paint cans. Each paint can contain litres of paint. Thabo calculates the total cost of paint, packaging, and overhead expenses for each can. He then adds a markup to cover other costs and calculates the price per litre of paint. The algorithm will prompt the user to enter the total cost per paint can, then calculate and display the price per litre of paint. Thabo always sells the paint in full Rand amounts, rounding up the cents to the next Rand.
Implement the above scenario by developing a pseudocode algorithm.
Marks
Test the program using a manual calculation in a trace table, using the sample data below:
Expense R
Increase by R
Gross price per litre R
Price per litre of paint
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