Question: Write a Java program that accepts two integer values between 25 to 75 and returns true if there is a common digit in both numbers.
Write a Java program that accepts two integer values between 25 to 75 and returns true if there is a common digit in both numbers.
Sample Output:
Input the first number: 35
Input the second number: 45
Result : true
Step by Step Solution
3.35 Rating (155 Votes )
There are 3 Steps involved in it
import javautil public class checkcommondigit public static void mainString args S... View full answer
Get step-by-step solutions from verified subject matter experts
