Sample Short Answer Questions 7 Formula Statistics Summary Given Data Sets Pls Give Exampl Q37148521

Sample of short answer questions

7. Formula of statistics summary of the given data sets.

pls give examples with solutions in C


Solution


//Code.c#include <stdio.h> float mean(int arr[], int n) { float sum = 0; int i; for (i = 0; i<n; i++) { sum += arr[i]; } return sum / n;}int median(int arr[],int n){ int median; int i = 0,j = 0; for(i = 0;i<n;i++){ for(j = i+1;j<n;j++){

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.