Aktualizovat "program.c
This commit is contained in:
parent
aeab8723bf
commit
e8eb0ca6e7
@ -36,6 +36,10 @@ int main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
while((fgets(druhy_vstup,100,stdin))){
|
while((fgets(druhy_vstup,100,stdin))){
|
||||||
|
if (*druhy_vstup =='\n'){
|
||||||
|
printf("Koniec nacitania.\n");
|
||||||
|
goto koniec;
|
||||||
|
}
|
||||||
strtok(druhy_vstup,"\n");
|
strtok(druhy_vstup,"\n");
|
||||||
|
|
||||||
if (!isdigit(*druhy_vstup)){
|
if (!isdigit(*druhy_vstup)){
|
||||||
|
Loading…
Reference in New Issue
Block a user