Wap to enter a number and check if it is a special 2digit number or not
Answers
Answered by
0
Answer:
int digitSum = digit1 + digit2; int digitProduct = digit1 * digit2; if ((digitSum + digitProduct) == orgNum) System. out. println("Special 2-digit number"); else System.
Answered by
0
int digitSum = digit1 + digit2; int digitProduct = digit1 * digit2; if ((digitSum + digitProduct) == orgNum) System. out.println("Special 2-digit number"); else System.
hope it helps you
mark as brainest and follow
Similar questions