From a6704d3f59964ab031ac962e9b073e44f1d69192 Mon Sep 17 00:00:00 2001 From: kr820js Date: Sun, 3 Mar 2024 16:48:40 +0100 Subject: [PATCH] submit4 --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index 0421a34..3bdedac 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -27,7 +27,7 @@ int main() result_of_main=result_of_main+array_of_numbers[j]*pow(array_of_numbers[0],(counter-j)-1); } - printf("Vysledok je: %.2f", result_of_main); + printf("Vysledok je: %.2f\n", result_of_main); return 0; } int reading_input(float *number){