Search:

Type: Posts; User: Wyatt_Earp

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,546

    Instead of this: for (int i=0; i

    Instead of this:


    for (int i=0; i<arraysize; i++)
    d[i]=.5*9.8*t*+i;

    cout<<" Time"<<setw(13)<< " Distance Traveled"<<endl;

    for (int j=0;j<=t;j++)
    {
  2. Replies
    4
    Views
    1,485

    If you are asking specifically what these...

    If you are asking specifically what these statements do:

    totalO$$$es += totalAge[ i ];
    ^ This statement is the same as saying:
    totalO$$$es = totalO$$$es + totalAge[ i ];

    totalNumber++;
    ^...
Results 1 to 2 of 2