pvjc24/cv2/program.c

19 lines
352 B
C
Raw Normal View History

2024-02-22 13:35:42 +00:00
#include<stdio.h>
#define FIELD_SIZE 52
int main(){
int field[FIELD_SIZE] = {0,0,0,0};
int count = 0;
int highest = 0;
2024-02-22 13:42:14 +00:00
int r = scanf("%d", &field);
2024-02-22 13:45:02 +00:00
if (r == 1){
printf("Súťažiaci č. %d vypil %d pohárov.\n",i+1,results[i]);
}
else {
printf("Načítanie sa nepodarilo. V premennej value ostala pôvodná hodnota. \n");
}
2024-02-22 13:42:14 +00:00
2024-02-22 13:35:42 +00:00
}