example 4-1: using case statement