an example using the IF statement