diff --git a/17EGICS018_ARRAY_10 b/17EGICS018_ARRAY_10 new file mode 100644 index 0000000..71acd60 --- /dev/null +++ b/17EGICS018_ARRAY_10 @@ -0,0 +1,37 @@ +#include +int main() +{ + int n, t, i; + printf("Enter the size of the array: "); + scanf("\n%d",&n); + int a[50]; + printf("Enter the array element: \n"); + for(i=0;it){ + printf("\n%d",i); + break; + } + else if(i==n-1 && ta[i]){ + printf("\n%d",n); + } + } + } + + return 0; +}