From b86fc2c52485d7237dd1012df1b2581016370172 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 22 Feb 2024 14:35:42 +0100 Subject: [PATCH] 1 --- cv2/.prigram.c.swp | Bin 0 -> 4096 bytes cv2/program.c | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 cv2/.prigram.c.swp create mode 100644 cv2/program.c diff --git a/cv2/.prigram.c.swp b/cv2/.prigram.c.swp new file mode 100644 index 0000000000000000000000000000000000000000..a37279a461fe460c4c33d26dec586183330b8c9f GIT binary patch literal 4096 zcmYc?2=nw+u+TGP00IFJ0Rf*`7#I?>%}k6_N?}4cX&=Xc5dQ#O;{bCne@D+?oa*YJ z2I?1-WhEP#=qHyM=@%4brWYmV>LugUH7YS00;3^7oe + +#define FIELD_SIZE 52 + +int main(){ + int field[FIELD_SIZE] = {0,0,0,0}; + int count = 0; + int highest = 0; + + int value = 0; + int r = scanf("%d",&value); + if (r == 1){ + printf("Úspešne som načítal hodnotu %d\n",value); + } + else{ + printf("Načítanie sa nepodarilo. V premennej value ostala pôvodná hodnota. \n"); + } +}