prvy
This commit is contained in:
parent
ad0de7177a
commit
5219c45874
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user