du2
This commit is contained in:
parent
2b711fb4ba
commit
741e9a4677
11
du2/program.c
Normal file
11
du2/program.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int value = 0;
|
||||||
|
int r = scanf("%d", value);
|
||||||
|
if (r == 1){
|
||||||
|
printf("Uspesne som nacital hodnotu %d\n", value);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
printf("Nacitanie sa neporadilo. V premennej value ostala povodna hodnota. \n");
|
||||||
|
}
|
||||||
|
|
||||||
6
du3/program.c
Normal file
6
du3/program.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#define VELKOST_POLA 52
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user