Question: Write a program that requests a password after the author/program information is displayed. Make the password hello. The program should then ask the user for
Write a program that requests a password after the author/program information is displayed. Make the password "hello". The program should then ask the user for their name: if the name entered is the same as your name, the program should respond with "What a great name!"; if they enter "Madonna" or "Cher", the program should respond "May I have your autograph, please?". For any other input, the program should respond with "(input name), thats a nice name".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
