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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

10-9 How have social technologies changed e-commerce?

Answered: 1 week ago