Изменить 'a1/program.c'
This commit is contained in:
parent
8f35e46418
commit
5f8bcc642d
@ -9,7 +9,7 @@ int main () {
|
|||||||
int counter = 0;
|
int counter = 0;
|
||||||
int numbers [100];
|
int numbers [100];
|
||||||
for (int i = 0; fgets(BMW, 100, stdin) != NULL; i++){
|
for (int i = 0; fgets(BMW, 100, stdin) != NULL; i++){
|
||||||
if (!strcmp("\n", BMW) || !strcmp(EOF, BMW)) {
|
if (!strcmp("\n", BMW)) {
|
||||||
counter = i;
|
counter = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user