This commit is contained in:
Andrii Hermaniuk 2022-04-22 09:43:07 +02:00
parent 762afc6522
commit a4f832a11b

View File

@ -43,10 +43,7 @@ int main(){
for(int j = 0;skip==0&& j<pocet_mien_v_poli ;j++){
for(int i=0;skip==0&&i<strlen(pole_smernikov[j]);i++){
if(pole_smernikov[j][i]=='\n'||pole_smernikov[j][i]==' '||(pole_smernikov[j][i]>='a'&&pole_smernikov[j][i]<='z')||(pole_smernikov[j][i]>='A'&&pole_smernikov[j][i]<='Z')){
continue;
}
else{
if(pole_smernikov[j][i]>='0'&&pole_smernikov[j][i]<='9'){
printf("Nespravny vstup\n");
skip=1;
}