hi, i wrote the code for life, universe, and everything given in easy category. this is my first code in this codechef. i am getting run time error. what it means????
include<stdio.h>
include<conio.h>
int main() { int a[10],i; printf("\n enter the numbers"); for(i=0;i<10;i++) { scanf("%d",&a[i]); } i=0; while(a[i]!=42) { printf("\nthe no.s %d",a[i]); i++; }
getch();
return 0;
}
can anyone help me to understand why run time error is coming????