Sasha is writing a program for a fitness tracker to help users analyze their physical activity over a custom tracking period.
Write an algorithm in pseudocode or a programming language of your choice to:
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.