This example gives a 20% tip if the value of service is "Y" or "y". When the user enters an answer as a String, it is important to test for both upper case and lower case.