c언어에러가떠서요
슬아라
#includestdio.h
main()
{
int c[12]={2,3,4,5,6,7,8,9,2,3,4,5},i,a,s=0,x,y,z=27;
clrscr();
gotoxy(1,3);
printf(Input your jumin number : - );
for(i=0;i12;i++,z++) {
gotoxy(z,3);
a = getche() - 48;
if ( a == -21 ) exit(-1);
if ( a 0 || a 9 ) {
printf(\nExtent out.. If you exit press Esc key..);
printf(\nContinue is press any key except Esc key..);
( getch() == 27 ) ? exit(-1) : main();
}
s = ( s + ( a * c[i] ) );
if ( z == 32 ) z++;
}
a = ( getche() - 48 );
x = s % 11;
y = 11 - x;
if ( y 9 ) y -= 10;
if ( y == a ) {
printf(\nYour jumin number is Normal..);
printf(\nIf exit press Esc key.\nElse press any key except.);
( getch() == 27 ) ? exit(-1) : main();
}
else {
printf(\nCheck dight number error..);
printf(\nYour check dight number is not %d but %d.,a,y);
printf(\nIf exit press Esc key.\nElse press any key except.);
( getch() == 27 ) ? exit(-1) : main();
}
}
왜에러가뜨죠??