A function retrieveSightings has been defined. It takes two parameters: the species name (as a string) and the search radius in kilometers (as an integer), and returns the total number of documented sightings.
Write program code, using retrieveSightings(), to output the total number of sightings for the species "Blue Whale" within a radius of 15 kilometres.
You must use either:
95 exam-style questions on OCR GCSE Computer Science Programming fundamentals. Each one has a worked solution and a mark scheme showing where the marks go.