main() { int a,b,toplam; float ort; clrscr(); printf("1.sayy gir...:"); scanf("%d",&a); printf("2.sayy gir...:"); scanf("%d",&b); toplam=a+b; ort=toplam/2; printf("Ortalama= %f olarak hesapland.",ort); getch(); }