Question: 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
R
Marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
