2022-03-09 07:57:33 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#define VELKOST_POLA 52
|
|
|
|
|
2022-03-09 07:58:54 +00:00
|
|
|
int main(){
|
2022-03-09 08:09:09 +00:00
|
|
|
int i=1;
|
2022-03-09 07:57:33 +00:00
|
|
|
int value = 0;
|
2022-03-09 08:12:13 +00:00
|
|
|
int vysledky[VELKOST_POLA];
|
2022-03-09 08:09:09 +00:00
|
|
|
memset(pole,0,VELKOST_POLA * sizeof(int));
|
2022-03-09 07:57:33 +00:00
|
|
|
int r = scanf("%d",&value);
|
2022-03-09 08:13:06 +00:00
|
|
|
for(value>=r){
|
2022-03-09 08:09:09 +00:00
|
|
|
r++;
|
2022-03-09 08:09:57 +00:00
|
|
|
i++;
|
2022-03-09 08:13:06 +00:00
|
|
|
vysledky++;
|
2022-03-09 07:57:33 +00:00
|
|
|
}
|
2022-03-09 08:09:09 +00:00
|
|
|
printf("Úspešne som načítal hodnotu %d\n",i);
|
2022-03-09 07:57:33 +00:00
|
|
|
// int pole[VELKOST_POLA];
|
|
|
|
return 0;
|
2022-03-05 16:27:11 +00:00
|
|
|
}
|