Aktualizovat „du2/program.c“
This commit is contained in:
parent
921dc42c19
commit
c752206ebc
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user