diff --git a/cv1/program.c b/cv1/program.c index 3038ce9..9122d6e 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -62,11 +62,11 @@ int main() } if(check(r, pizz)) { - count++; + printf("%s %.2f\n", r, price); } - } + }count++; printf("Nacitanyh %d poloziek", count); return 0;