News

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.
Implementation: Computational constructs Selection - using if statements. ... In this example, the program selects the text to be displayed on screen, depending upon the outcome of the IF statement.