Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Develop code

EasyMediumHard
123456789101112131415161718192021222324252627
Question 13

An organizer of a local running event needs a program to process customized t-shirt orders for clubs.

The program must:

  • Accept the input of the number of t-shirts required.
  • Determine the price per t-shirt based on the quantity.
  • Calculate the total cost of the order.
  • Output the price per t-shirt and the total cost of the order.

The price of each t-shirt is calculated using the following tier table:

Quantity OrderedPrice per t-shirt
1 to 9£15.00
10 to 49£11.00
50 or more£8.00

Complete the following Python program to implement this logic.

[6]

Develop code Questions

  1. IGCSE
  2. /Computer Science
  3. /Develop code