`#include<stdio.h>
#include <stdlib.h>
main() {
int sayi;
int tektop;
int ort;
int sayac=0;
int i;
for(i=1;i<20;i++){
printf("Sayi gir");
scanf("%d",&sayi);
if(sayi%2 == 0) {
sayac++;
sayi+=tektop;
ort = tektop/sayac;
}
}
printf("\n ort %d",ort);
printf("\n sayac %d",sayac);
return 0;
}`
Merhaba, Programın amacı girilen 20 adet sayıdan tek olanların ortalamasını hesaplaması. Fakat düzgün çalışmıyor nerede yanlış yaptım söyler misiniz