Write a Java program that implements a "knock knock" game. When the program first starts, it should display the message "Knock knock:". The program should then read in the users response. The only valid response should be "Who’s there?". For any response other than this, the program should terminate after displaying the message “You are not playing the game correctly!”
If the user does enter "Who’s there?", the program should then display "Orange!:" and accept the user’s next reply, which should be "Orange who?". If the user does not enter "Orange who?", the program should terminate after displaying the message “You are not playing the game correctly!”
Once the user enters "Orange who?" at the appropriate time, the program should display
"Orange you glad your program works!" and terminate.