CAPE Computer Science Unit 1 · 2016 · Paper 2 · Question 4(b)
A communications company charges 1.25 per minute for the first 20 minutes and 0.25 per minute for any additional minutes. Write an algorithm that reads an integer representing call duration in minutes, then calculates and displays the call cost.
The mark scheme is shown once you've answered.
Practise this question