Write a Java program that displays Do you want to continue? and then reads a user’s response. If the response is either Y, Yes, OK, Sure, or Why not, display OK. If the response is either N or No,...


Write a Java program that displays Do you want to continue? and then reads a user’s response. If the response is either Y, Yes, OK, Sure, or Why not, display OK. If the response is either N or No, display Terminating. For any other input, display Invalid input. The case of the user’s input should not matter.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here