Aktualizovat „du2/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-02 19:35:29 +00:00
parent 921dc42c19
commit c752206ebc

View File

@ -7,7 +7,7 @@ int main()
int i = 0, max_hodnota = 0, value = 0; int i = 0, max_hodnota = 0, value = 0;
while(value >= 0 || i <= 49 || value != EOF){ while(value >= 0 && i <= 49 && value != EOF){
int r = scanf("%d",&value); int r = scanf("%d",&value);
if(value <= -1){ if(value <= -1){