Program to display whether the number is a Duck number or not . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Program to display whether the number is a Duck number or not .

(bluej programming)

14th Aug 2017, 5:24 PM
Asif Jaman
Asif Jaman - avatar
2 Answers
+ 2
@smoke duck number 1234567890 10234 non duck number 0987654321 01234 duck number begins with 1-9 and contains 0-9 none duck begins with 0
14th Aug 2017, 8:17 PM
D_Stark
D_Stark - avatar
0
would be good to know duck number definition
14th Aug 2017, 5:56 PM
smoke bellew
smoke bellew - avatar