When you fully understand those notes, write a program that does exactly what this greeting program does. Test it with a variety of inputs like "yes," "Yes," "no," "No," "No way," "sure," "yep, " and "sure am" to be sure your program behaves the same as mine. (It treats all inputs that start with n or N as negative).
You might find it helpful to make a flowchart of the program before writing it.
Turn in a screen shot of the program executing and its listing.