Question: Write a program that asks the user to enter two lines of words and checks whether the two lines of words match (equal) each other.
Write a program that asks the user to enter two lines of words and checks whether the two lines of words match (equal) each other. The program will display Lines are equal, otherwise the program will display Lines are not equal.
-
Compile and run below program.
-
Make sure to click on the Output Window to input the first number and the second number.
-
Test the program. Take notes of the program with your observations and include in your comments.
-
Submit your work.
This is for Java programming, thanks in advance!!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
