Menu

Write Program Uses Scanner Object Read Two Different Integers Print 1 Numbers Print 0 Numb Q43889006

Write a program that uses a Scanner object to read in two different integers. It will print 1 if the numbers are the same or

Write a program that uses a Scanner object to read in two different integers. It will print 1 if the numbers are the same or it will print 0 if the numbers are different. Use an if/else statement in your program – do not use the Math class. Example Sample Input (on one line) Sample Output 39 13 13 Problem4.Java New Full Show transcribed image text Write a program that uses a Scanner object to read in two different integers. It will print 1 if the numbers are the same or it will print 0 if the numbers are different. Use an if/else statement in your program – do not use the Math class. Example Sample Input (on one line) Sample Output 39 13 13 Problem4.Java New Full

Expert Answer


Answer to Write a program that uses a Scanner object to read in two different integers. It will print 1 if the numbers are the sam…

OR