Write a program in java to take a no. as input and check whether it is unique or not........
(a unique no. is such a no. in which there is no repitition of digits....E.g.-123 is a unique no. but 223 is not)
Answers
Answered by
0
Answer:
ill just attach the solution in 5 min
ya it's easy
Just extract each digit and keep them in array and in for loop check for repeating numbers
if it repeats, break the loop
Please follow me
Attachments:
Similar questions