Write a class 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
0
Answer:
p8dysirkuakuralitslis6oua5kurgkludlistkutslitsiy4aliydyarduhaeaxmgktdnfzjtszhfkxkjg
Explanation:
ljgxltduljggjxlgxukrztxjlydkkydgljzzjltldiyljxglgjzxglizgjllgzylizlzyiilzyxligxlixydoudlykxylutzuzltztkuzutlzultlzut,tluutlzxiptipxtxtupxitpzipttupxuxtpztupztoutupz
Similar questions
Physics,
2 months ago
English,
2 months ago
Physics,
5 months ago
Math,
5 months ago
CBSE BOARD X,
10 months ago