Question:
Write a program that accepts a pair of two digit numbers which satisfies the following condition.
The product of the numbers should be the same, when both the numbers are reversed and multiplied.
If products were same,then print “Yes” else print “No”. Note: Assume both the inputs are 2-Digit values.
Hint: [13*62=31*26]
Sample Input:
13
62
Sample output:
Yes
CODE:–
Tags: java interview programs for experienced | java interview programs for freshers pdf | java coding questions for 5 years experience | java programming interview questions – geeksforgeeks | java programming interview questions and answers for freshers | java programs asked in interview for automation tester | java coding interview questions for experienced professionals | java coding interview questions pdf | codechef | 2021
ConversionConversion EmoticonEmoticon