array length fix
This commit is contained in:
parent
8a84024931
commit
e870a23233
@ -1,11 +1,11 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
float pole[20];
|
||||
float pole[50];
|
||||
int opakovania = 0;
|
||||
float cislo;
|
||||
|
||||
while (opakovania < 20) {
|
||||
while (opakovania < 50) {
|
||||
if (scanf("%f", &cislo) == EOF) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user