Boss Challenge 3.2.3
Azltech Distributors App – 10XP
Create an app for a costing program, where the order details are entered, and the total cost is calculated.
Determine the IPO, design a flowchart algorithm and create/test the Python code.
Save as azltech_app.py
Scenario
Azltech Distributors currently calculates for costs dispatching orders manually. The manager has decided to use a computer application to do this instead.
Create an appropriate interface and coding for a costing program called azltech_app.py, where the order details are entered, and the total cost is calculated.
Data
Use the following standard business rules to guide you:
- Order cost is equal to the quantity multiplied by the recommended retail cost
A Goods and Services Tax (GST) for the item must be collected for taxation requirements
- The sub-total is GST amount added to the order cost
- The shipping and handling cost is determined by the chosen mode
- Nett cost is the total cost of the order, the GST and the shipping/handling.
Local business rules:
Create and use functions and procedures where appropriate.
GST: currently 10% of sales
Level 1 STP Standard Post – a flat rate of $ 8 per order
Level 2 STE Star Track Express – $ 20 per order <$100 and a discounted $ 15 per orders over $100+
Each order cost is calculated individually
Costs
Azltech Distributors keeps a running total of each of order cost, GST paid, shipping cost and nett cost each day to be able to declare for taxation purposes.