Can you make me a program that does this:
Amount of numbers:5 // any number
123 // arrays
344 // random numbers output
mean: //calculates the mean
standard deviation: //calculates the standard deviation

The rules state that we don't provide homework help unless you show some effort.
The rules state that you don't must post the same question twice.
Just read them please.
And if your memory doesn't serve you well, just have a look here.

Edited 2 Years Ago by ddanbe: addition

I have wrote the first part of it

using namespace std; 

float find_mean (float num1, float num2, float num3, float num4, float num5, float num6, float num7, float num8, float num9, float num10, float num0 ) 
return (num1 + num2 + num3 + num4 + num5 + num6 + num7 + num8 + num9 + num10 + num0 )/11; 
int main() 
float a, b, c, d, e, f, g, h, i, j, k; 
cout << "Enter eleven numbers." << endl; 
cin >> a >> b >> c >> d >> e >> f >> g >> h >> i >> j >> k; 
cout << " Mean: " << find_mean(a, b, c, d, e, f, g, h, i, j, k) << endl; 

@ddanbe: Just saying 'is' ... in a softer way :)

Friendly folks here at Dani's place ... do not want to scare off potential fan's for Dani ... eh?

This article has been dead for over six months. Start a new discussion instead.