I wrote a c language code which prompts the user for a no. and then tell which digits are of that number are repeated. While there is no problem with compilation, it shows s