Question: Write a java program that asks the user to enter two integers, and then prints whichever value is nearest to the value 10, or prints
Write a java program that asks the user to enter two integers, and then prints whichever value is nearest to the value 10, or prints out 0 in the event of a tie. (very basic java program).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
