,.
This commit is contained in:
parent
2328b025f4
commit
0ff187d496
@ -13,6 +13,9 @@ int main(){
|
||||
int pocet_mien=0;
|
||||
|
||||
scanf("%d\n", &pocet);
|
||||
if(pocet<1){
|
||||
puts("Nespravny vstup");
|
||||
}
|
||||
while(fgets(riadok,50,stdin)!=NULL && riadok[0]!='\n'){
|
||||
if(riadok[strlen(riadok)-1]=='\n'){
|
||||
riadok[strlen(riadok)-1]='\0';
|
||||
|
Loading…
Reference in New Issue
Block a user