Im new to c++ and i'm tryin to compute the standard deviation of a set of floating point numbers using a data file. here I started my program and skip over things i didn't really know but can someone plaese help me.
****************************************************************************
#include<iostream>
#incluse<fstream>
#include <cstdlib>
#include <cmath>
int main()
{
using namespace std;
ifstream in_stream;
ofstream out_stream;
Right in here i need help into what i put in the middle statement
}
double next,sum = 0;
double average;
double s_dev = 0;
int count = 0;
while(in_stream >> next)
{
sum = sum + next;
count++;
}
average = sum/count;