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:
Practise OCR GCSE Computer Science Defensive design with exam-style questions for GCSE Computer Science. 14 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.