Изменить 'du2/program.c'

BMW M5 Love
This commit is contained in:
Oleksandr Hryshchenko 2021-03-09 19:46:51 +00:00
parent ac31afb828
commit 134b7e2d64

View File

@ -25,7 +25,7 @@ int main() {
int max_number = 0;
int max_position = 1;
for (int i = 0; fgets(glass[i], 20, stdin) != NULL; i++){
for (int i = 0; fgets(glass[i], 20, stdin); i++){
for (int j = 0; j < strlen(glass[i]); j++){
if (!isdigit(glass[i][j]) || atoi (glass[i]) < 1){
goto LABEL;