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