A community-supported agriculture (CSA) scheme distributes organic vegetable boxes. The standard charge is £4.20 per kilogram of produce. If the subscriber has a 'Harvest Share' membership, this rate is reduced to £2.50 per kilogram.
Write an algorithm to:
You must use either:
41 exam-style questions on OCR GCSE Computer Science Designing, creating and refining algorithms. Each one has a worked solution and a mark scheme showing where the marks go.