Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started