我的程序有两个错误 但半天都找不出来
#include <stdio.h>int main()
{
int a[100]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20},n,i,sum=0,flog=0;
printf("Enter a number");
scanf("%d",&n);
for(i=0,i<=19,i++)
{
if(a[i]==n)
{
flog=1;
sum++;
}
}
if(flog==1)
{
printf("The chazhao number is %d",sum);
}
return 0;
}