please copy this code to the any compiler

/////////////////////////////////////////

#include<stdio.h>
#include<stdlib.h>
#include<ctype.h>
//////////////////////////////

int isidok(char*);
int main(){
    char x[10];
    do{
    printf("Enter a dot('.') will cease this program\n");
    printf("Enter your ID:");
    scanf("%s",x);
    if(x[0]!='.') {
    if(isidok(x)){printf("ok\n");}
    else {printf("Error!\n");}
    }
    }while(x[0]!='.');
     return 0;
}
//////////////////////////////
int isidok(char* x){
      int a,b,result;
      x[0]= toupper (x[0]);
if(x[0]<65&&x[0]>90) return 0;
if(x[1]!='1'&&x[1]!='2') return 0;
if(x[0]>=65&&x[0]<=72){a=(x[0]-55)/10,b=(x[0]-55)%10;}
if(x[0]>=74&&x[0]<=78){a=(x[0]-56)/10,b=(x[0]-56)%10;}
if(x[0]>=80&&x[0]<=86){a=(x[0]-57)/10,b=(x[0]-57)%10;}
if(x[0]>=88&&x[0]<=89){a=(x[0]-58)/10,b=(x[0]-58)%10;}
if(x[0]==73){a=(x[0]-29)/10,b=(x[0]-29)%10;}
if(x[0]==79){a=(x[0]-44)/10,b=(x[0]-44)%10;}
if(x[0]==87){a=(x[0]-55)/10,b=(x[0]-55)%10;}
if(x[0]==90){a=(x[0]-57)/10,b=(x[0]-57)%10;}
if(x[1]<48 && x[1]>57 &&
x[2]<48 && x[2]>57 &&
x[3]<48 && x[3]>57 &&
x[4]<48 && x[4]>57 &&
x[5]<48 && x[5]>57 &&
x[6]<48 && x[6]>57 &&
x[7]<48 && x[7]>57 &&
x[8]<48 && x[8]>57 &&
x[9]<48 && x[9]>57
)
return 0;
result=( a*1 + b*9 +
(x[1]-48)*8+
(x[2]-48)*7+
(x[3]-48)*6+
(x[4]-48)*5+
(x[5]-48)*4+
(x[6]-48)*3+
(x[7]-48)*2+
(x[8]-48)+
(x[9]-48)
);
if((result%10)!=0)
return 0;
return 1;
}
//////////////////////////////
¡@