#include using std::cout; using std::cin; using std::endl; #include float StandardDeviation(float a[], int n); int main(){ int n = 0; cout<<"Insert n : "<>n; const int dim = n; float a[dim] = {0}; cout<<"Insert the values "<>a[i]; cout<<"Standard deviation: "<=0){ for(int i = 0; i < n ; i++){ sum += a[i]; } mean = sum/n; for(int i = 1; i < n; i++){ dev = a[i]-mean; sum+=dev*dev; } } return sqrt(sum/(n-1)); }