Write a program to accept a number and check if it is a Duck number
Answers
Answered by
2
Answer:
1. A number is said to be Duck if the digit zero is (0) present in it. The program displays the message accordingly .
2. Input : 5063 Output: Duck number.
3. Input : 7453 Output: Not a Duck Number .
Similar questions