// sorunu çözdüm 4 scanf de projeyi yazacak iken ort yazmışım.


Arkadaşlar c çalışmayın çalıştırmayın .... ortalama 100 olsa bile farkllı hatalar veriyor neden acaba ?
#include <stdio.h>


int main(){


int not1,not2,not3,proje,ort;

printf("**** ORTALAMA HESAPLAMA **** \n \n \n ");

printf("birinci not :");
scanf("%d",&not1);

printf("ikinci not : ");
scanf("%d",&not2);

printf("ucuncu not: ");
scanf("%d",&not3);

printf("proje not: ");
scanf("%d",&ort);

ort=(not1+not2+not3+proje)/4;

if(ort>=85)
{
printf("AA aldiniz ");

}
if(ort>70 && ort<85)
{
printf("bb aldiniz");
}
if(ort>60 && ort<=70)
{
printf("cc aldiniz");
}
if(ort>50 && ort<=60)
{
printf("dd aldiniz");
}
if(ort<=50)
{
printf("ff aldiniz kaldiniz");
}

return 0 ;

}