From 67846c51bd21519ad945e032036c53a0b3876561 Mon Sep 17 00:00:00 2001 From: VIliam Date: Fri, 22 Mar 2024 00:15:09 +0100 Subject: [PATCH] cv5 --- cv5/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv5/program.c b/cv5/program.c index 0b4b67c..adeb6e5 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -32,7 +32,7 @@ int main() { char name[SIZE]; int votes; - printf("Enter votes for 'Student of the Year' contest (or 'q' to quit):\n"); + //printf("Enter votes for 'Student of the Year' contest (or 'q' to quit):\n"); while (fgets(line, SIZE, stdin) != NULL) { // Kontrola ukončenia vstupu @@ -42,7 +42,7 @@ int main() { // Načítanie počtu hlasov a mena zo vstupu if (sscanf(line, "%d %[^\n]", &votes, name) != 2) { - printf("Invalid input format. Exiting.\n"); + //printf("Invalid input format. Exiting.\n"); return 1; }