Write a program in Java with the following specifications:
Class name : stat
Data members:
int a[ ] : to contain 10 integers
double m : to store mean of 10 integers
double sd : to store deviation from mean
Members functions :
stat( ) : to initialize array a[ ] , m, sd
double mean( ) : to find the mean of 10 numbers
void dev( ) : to print deviation of each number from the mean
sd = a[ ] - m
Answers
Answered by
4
wait I will give you answer please give me some time
Answered by
1
Answer:
its a request to everyone give the ans not to leave it
Similar questions
Computer Science,
3 months ago
Math,
3 months ago
Math,
3 months ago
India Languages,
7 months ago
Physics,
11 months ago
History,
11 months ago