sds
This commit is contained in:
parent
762afc6522
commit
a4f832a11b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user