Question: Write a program which reads a list of doubles terminated by end of file into a vector and prints the mean (or average) and the

Write a program which reads a list of doubles terminated by end of file into a vector and prints the mean (or average) and the standard deviation (look up the formula and tell where you got it in a comment). Print an appropriate message if the list is empty. 

My code works, I just don't get what the questions means by "terminated by end of file..." and how do I incorporate that into my code?

Write a program which reads a list of doubles terminated by end

int main vector

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!