Computer Science, asked by Dibi8112, 7 months ago

WAP to input a number.Check and print of it is a duck number or not.

Answers

Answered by Pikachu07
2

Write a Java program to check whether a number is a Duck Number or not. Note: A Duck number is a number which has zeroes present in it, but there should be no zero present in the beginning of the number. For example 3210, 7056, 8430709 are all duck numbers whereas 08237, 04309 are not.Feb 26, 2020

Answered by rsingh625
0

Write a Java program to check whether a number is a Duck Number or not. Note: A Duck number is a number which has zeroes present in it, but there should be no zero present in the beginning of the number. For example 3210, 7056, 8430709 are all duck numbers whereas 08237, 04309 are not.

Similar questions