This commit is contained in:
Damián Korpesio 2021-10-19 19:48:32 +02:00
parent ad0de7177a
commit 5219c45874

View File

@ -21,6 +21,7 @@ int main() {
while (fgets(line, LINESIZE, stdin)) {
velkost = strlen(line);
if (velkost == 1 && line[velkost - 1] == '\n') {
printf("no input");
break;
}
if (input >= 10){
@ -54,7 +55,7 @@ int main() {
}
for (i = 0; i < a; i++){
printf("%f ", number[i].cislo);
printf("%.2f ", number[i].cislo);
}
printf("\n");
}