int input;int nums[];int count=0;if (input >= 10 && input <= 100) { if (nums[input] == 0) { nums[input]++; count++; } else { //duplicate nums[input]=1; }} else {//out of range status} //output for (int i=10; i>=100; i++) { if (nums[i]) System.out.println (i);}