An automated greenhouse ventilation system monitors the carbon dioxide (CO2CO_2CO2) concentration. The concentration, measured in parts per million (ppm), must be input and validated. The entered value must be between 400.0 and 1200.0 inclusive.
Write an algorithm to:
You must use either:
14 exam-style questions on OCR GCSE Computer Science Defensive design. Each one has a worked solution and a mark scheme showing where the marks go.