An automated control terminal for an industrial fluid mixer requires the operator to enter a speed setting. The speed setting must be an integer from 3 to 12 inclusive.
Develop an algorithm, using either pseudo-code or a flowchart, that validates the entered speed setting. The algorithm must continuously prompt the operator to re-enter the speed setting until a valid value (between 3 and 12 inclusive) is provided.
You should assume that the user will always enter an integer.
208 exam-style questions on AQA GCSE Computer Science Representing algorithms. Each one has a worked solution and a mark scheme showing where the marks go.