Aktualizovat du5/program.c
This commit is contained in:
parent
4646ffa9d1
commit
8ec9a0aee4
@ -8,9 +8,8 @@ int main()
|
|||||||
char line[SIZE];
|
char line[SIZE];
|
||||||
char answer[SIZE];
|
char answer[SIZE];
|
||||||
|
|
||||||
while (1)
|
while (fgets(line, SIZE, stdin) != NULL)
|
||||||
{
|
{
|
||||||
char* p = fgets(line, SIZE, stdin);
|
|
||||||
if (line[0] == NULL)
|
if (line[0] == NULL)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user