From 9c3f920403bc700cbe9bcd4e60c05a2d749eb94b Mon Sep 17 00:00:00 2001 From: Harshil Darji Date: Tue, 18 Oct 2016 19:47:54 +0530 Subject: [PATCH] 18 Oct --- Computer Oriented Statistical Methods/MEAN.C | 46 +++++++++++++++++ .../MEDIAN.C | 49 +++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 Computer Oriented Statistical Methods/MEAN.C create mode 100644 Computer Oriented Statistical Methods/MEDIAN.C diff --git a/Computer Oriented Statistical Methods/MEAN.C b/Computer Oriented Statistical Methods/MEAN.C new file mode 100644 index 00000000..e73b8b51 --- /dev/null +++ b/Computer Oriented Statistical Methods/MEAN.C @@ -0,0 +1,46 @@ +#include +#include +#include +void main() +{ + int a[10],n,i,j,temp,sum=0; + float mean; + clrscr(); + printf("Enter no. for Random Numbers :"); + scanf("%d",&n); + for(i=0;i +#include +#include +void main() +{ + int a[10],n,i,j,temp; + float mean,median; + clrscr(); + printf("Enter no. for Random Numbers :"); + scanf("%d",&n); + for(i=0;i