#include int main(){ int query_no,flag=0; scanf("%d",&query_no); while(query_no>0) if(query_no%10==0) flag=1; break; } else query_no/=10; } if(flag){ printf("Given number is Duck Number\n"); } else{...


How many errors are in this question, on which line and can you explain what it is?


#include<stdio.h><br>int main(){<br>int query_no,flag=0;<br>scanf(0) if(query_no%10==0) flag=1; break; } else query_no/=10; } if(flag){ printf("Given number is Duck Number\n"); } else{ printf("Given number is not Duck Number\n"); } return 0 "/>
Extracted text: #include int main(){ int query_no,flag=0; scanf("%d",&query_no); while(query_no>0) if(query_no%10==0) flag=1; break; } else query_no/=10; } if(flag){ printf("Given number is Duck Number\n"); } else{ printf("Given number is not Duck Number\n"); } return 0

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here