not getting any error in codeblock ,but my code is not accepted

,

#include<stdio.h>
int main()
{
int n,a[10],i;
puts(“enter the range”);
scanf("%d",&n);
puts(“enter the numbers”);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
puts(“the nos. are”);
for(i=0;i<n;i++)
{
if(a[i]==42)
break;
printf(" %d\n",a[i]);
}
return 0;

}

format your code properly. remove the “puts” statements.output format should be in the format specified in the question

//