Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Help!

Name: Anonymous 2011-04-03 19:21

using namespace std;

for (int k=0;k<N; k++)   //summation
    {
     sum=sum+y[k];
    }
y_ave= sum/N;
// Count elements greater than average
for (int k=0;k<N; k++)   //counting!
    {
     if (y[k] >y_ave)
        count++;
    }
cout<<“The sum of elements in the array”<<sum<<endl;
cout<< count<< “ values are greater than average value”<< y_ave<<endl;

Name: Anonymous 2011-04-03 23:54

gbt/prog/

Name: ananymous 2011-04-04 12:36

Thank you so much for the FF4 too update, I posted earlier asking if you were going to update it then after my post I looked down and there it was, thanks again

Name: /prog/ 2011-04-05 0:44

>>2
No thank you.

Don't change these.
Name: Email:
Entire Thread Thread List