happycompiler.com
Duck Number in Java
A duck number is a positive integer that has one or more zeroes present in it. However, the number should not begin with zero. For instance, 1205, 500, etc. are duck numbers. Write a program in Jav…