This commit is contained in:
Damián Korpesio 2021-10-20 11:19:47 +02:00
parent ad3a6f4469
commit aebdfd0714

View File

@ -56,15 +56,15 @@ int main() {
}
else {
if(line[0] >= 'a' && line[0] <= 'z') {
printf("bad input");
break;
}
else {
p = atof(line);
number[a].cislo = p;
a++;
input++;
}
else {
printf("bad input");
break;
}
}
for (i = 0; i < a; i++){