Question: sample output [ 1 ] New Statistician [ 2 ] Destroy Statistician [ 3 ] Add Data [ 4 ] Delete Data [ 5 ]
sample output
New Statistician
Destroy Statistician
Add Data
Delete Data
Display Statistics
QUIT
sample output if choice
Create new statistician done!
sample output if choice
Destroy current statistician done!
sample output if choice
Add data to Statistician
Enter data:
STATISTICIAN DATA:
sample output if choice
Remove data from Statistician
Enter data:
STATISTICIAN DATA:
sample output if choice
STATISTICIAN DATA:
Minimum :
Maximum :
Range :
MeanAverage :
Median :
Mode : All values appeared just once
Variance :
Standard Deviation:
Create a program to help a statistician customer to automate some of his work. Implement the following
required operations of LIST and STATISTICS with the given data structure and function prototypes:
#ifndef STATISTICSH
#define STATISTICSH
#define TRUE
#define FALSE
typedef bool Boolean;
typedef struct node nodePtr;
struct node
int item;
nodePtr next;
;
typedef nodePtr Statistician, DataStore;
Statistician newStatistician;
void destroyStatisticianStatistician ;
void addStatistician int ;
void removeStatistician int ;
void displayDataStatistician ;
Boolean isEmptyStatistician s;
int minimumStatistician s;
int maximumStatistician s;
int rangeStatistician s;
float meanStatistician s;
float medianStatistician ;
Datastore modeStatistician s;
float varianceStatistician s;
float standardDeviationStatistician s;
#endif
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
