From 848939b8cf9e60b54e4381eae29dec3b125d55a6 Mon Sep 17 00:00:00 2001 From: Peter Sabol Date: Wed, 9 Mar 2022 08:03:25 +0000 Subject: [PATCH] Update 'du2/program.c' --- du2/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du2/program.c b/du2/program.c index e1a1a62..ca1702a 100644 --- a/du2/program.c +++ b/du2/program.c @@ -6,7 +6,7 @@ int main(){ //int i=1; int value = 0; int r = scanf("%d",&value); - if (r > 1){ + if (r == 1){ printf("Úspešne som načítal hodnotu %d\n",value); } else {