To tell a computer to do something, a program must be written to tell it exactly what to do and how to do it. If an algorithm has been designed, the computer program will follow this algorithm, ...
find out how old the person is if the person is younger than 15 then say “You are eligible for a discount ticket.” otherwise, say “You are not eligible for a discount ticket.” OUTPUT "How old are you?