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.

  1. Compile and run below program.

  2. Make sure to click on the Output Window to input the first number and the second number.

  3. Test the program. Take notes of the program with your observations and include in your comments.

  4. Submit your work.

This is for Java programming, thanks in advance!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!