Refer to the following algorithm written in pseudocode/Python-style code:
1 # -----
2 # Configuration
3 # -----
4 readings = [12.5, 14.1, 13.8, 15.2, 16.0]
5 target = 0.0
6
7 # -----
8 # Processing readings
9 # -----
10
11 for temp in readings:
12 print("Recorded temp: " + str(temp))
13
14 target = float(input("Enter minimum temperature: "))
15 while (target < 10.0 or target > 30.0):
16 print("Invalid range. Must be between 10.0 and 30.0.")
17 target = float(input("Enter minimum temperature: "))
18
19 print("Target set successfully.")
Give the line number where the condition-controlled loop begins.
50 exam-style questions on Edexcel GCSE Computer Science Constructs, covering Structural components of programs and Writing programs with control constructs. Each one has a worked solution and a mark scheme showing where the marks go.