Many specifications offer the user a menu of choices keyed with 'a', 'b', 'c' etc.
Using the design of the YesNoDemo2 program given in the chapter, design a demonstration program which will offer the user a range of choices and then accept a character. The program should then indicate which option the user has selected from the choices, or inform them that their choice is invalid. A bus company will allow people aged under 5 or over 65 to travel for free, those aged between 5 and 15 to travel for half price and all others to pay the full price. Design and implement a program which will ask the user for their age and then inform them of the rate they will have to pay on the bus. A security company will only employ people between the ages of 21 and 50, additionally males have to be at least 1.80 metres and females at least 1.70 metres.