News

The SELECTION statement then defines the actual command that is submitted when the user chooses the item in the ... which invokes a longer command string that is defined in the SELECTION statement.
KS3; Selection in programming IF statements. When designing programs, there are often points where a decision must be made. This decision is known as selection, and is implemented in programming ...
In this example, the program selects the text to be displayed on screen, depending upon the outcome of IF statement. The if statement checks to see if the value of the age variable is less than 17.