Answered step by step
Verified Expert Solution
Link Copied!

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 5 litres of paint. Thabo calculates the total cost of paint, packaging, and overhead expenses for each can. He then adds a 25% 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.
2.1 Implement the above scenario by developing a pseudocode algorithm.
(10 Marks)
2.2 Test the program using a manual calculation in a trace table, using the sample data below:
Expense R182.60
Increase by 25% R228.25
Gross price per litre R45.65
Price per litre of paint

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Oracle8I Building Efficient Databases

Authors: Jonathan Lewis

1st Edition

0201715848, 978-0201715842

More Books

Students also viewed these Databases questions

Question

5. To appear inadequate to other people (S)

Answered: 1 week ago