/*if (strcmp("0000", a) == 1 && strcmp("0001", a) == 1 && strcmp("0010", a) == 1 && strcmp("0011", a) == 1 && strcmp("0100", a) == 1 && strcmp("0111", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1){
printf("Lubamatu sisend: %s", a);
return 1;
}*/
char one[] = "1";
char zero[] = "0";
for (i = 0; i < strlen(a); i++){
if (strcmp(a[i], one) != 0 && strcmp(a[i], zero) != 0){
printf("Lubamatu sisend: %s", a);
}
}
1. võimalus: if (strcmp("0000", a) == 1 && strcmp("0001", a) == 1 && strcmp("0010", a) == 1 && strcmp("0011", a) == 1 && strcmp("0100", a) == 1 && strcmp("0111", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1 && strcmp("0010", a) == 1){
printf("Lubamatu sisend: %s", a);
return 1;
2.võimalus: char one[] = "1";
char zero[] = "0";
for (i = 0; i < strlen(a); i++){
if (strcmp(a[i], one) != 0 && strcmp(a[i], zero) != 0){