This commit is contained in:
Kozar 2024-02-22 14:35:42 +01:00
parent 56a3bc2560
commit b86fc2c524
2 changed files with 18 additions and 0 deletions

BIN
cv2/.prigram.c.swp Normal file

Binary file not shown.

18
cv2/program.c Normal file
View File

@ -0,0 +1,18 @@
#include<stdio.h>
#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");
}
}