c program to find average
#include<conio.h> #include<stdio.h> main() { int sum,total,avrg; printf("type the sum of obersvations:"); scanf("%d",&sum); printf("type total no. of observations:"); scanf("%d"&total); avrg=sum/total; printf("average:%d",avrg); getch(); }
Comments
Post a Comment