Thank you so much for reply. I made a small modifiction by including || operator in the middle, but it is not working. What is my mistake. My intention here is , i want to check for 3 digits or 2 digits before the dot(.) operator and i want to print the number