Computer Science, asked by murshedibrahim010, 4 months ago

wap to accept a number and check whether that number is unique number or not​

Answers

Answered by swatiyadav10
1

Answer:

To check if a number is a unique number or not

//A Unique number is a number in which no repeated digits are present e.g.1234 it is a unique number while 12113 is not a unique number. int n;int flag=1; Scanner in=new Scanner(System.in); ... int c;//acts a counter to count the number of words.

Similar questions