Question: Write a Java method to determine the largest digit that comes in a pair within an integer. If there are no pairs return - 1
Write a Java method to determine the largest digit that comes in a pair within an integer.
If there are no pairs return Do not use strings in your solution these are integers!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
