wap to accept n numbers in an array and count the number of duck numbers present in it.
A number is said to be duck if it contains 0 in it.
Using the function :
boolean Isduck(int n) : accepts a number and returns true if it is duck otherwise returns false.
sample input:
Enter the size of the array
5
Enter numbers in the array
230
345
908
44
320
Sample output:
Total number of duck numbers is 3
Answers
Answered by
0
Answer:
Soorry.....i cant answer
Answered by
0
Answer:
Question aur answer main nhi bata sakta I'll refer you to go to pt Jawaharlal Nehru Hospital
Similar questions