A programmer is writing a system to validate the age of members joining a youth club. The age must be between 11 and 18 inclusive.
Below is the Python program used to perform this validation:
1 age = int(input("Enter your age: "))
2 while age < 11 or age > 18:
3 print("Invalid age")
4 age = int(input("Enter your age: "))
5 print("Age accepted")
Complete the test plan in the table below to test the validation of age.
| Test number | Test type | Test data | Expected result |
|---|---|---|---|
| 1 | Erroneous | 25 | (a) |
| 2 | Boundary | (b) | "Age accepted" |
| 3 | Normal | 15 | "Age accepted" |
State the missing values for (a) and (b).
State the missing values for (a) and (b).