1
This commit is contained in:
parent
56a3bc2560
commit
b86fc2c524
BIN
cv2/.prigram.c.swp
Normal file
BIN
cv2/.prigram.c.swp
Normal file
Binary file not shown.
18
cv2/program.c
Normal file
18
cv2/program.c
Normal 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");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user