So far have used a sequence of statements. Often we need to select between alternative actions.
Ada provides two types of selection statements:
Selection of alternatives is determined by working out whether a given condition is true.
Writing conditions and treir associated actions correctly can be tricky. Truth tables can help you make sure the conditions and associated actions are correct.