Search:

Type: Posts; User: etidd

Search: Search took 0.11 seconds.

  1. Re: hi. i want to rewrite this do loop into a while loop.

    yep, sure got it... figured it out myself shortly after posting this. it's great to voice it out to figure it out!
  2. hi. i want to rewrite this do loop into a while loop.

    hi help me rewrite the following do loop into a while loop.


    int n = 1;
    double x = 0;
    double s ;
    do
    {
    s = 1.0 / (n * n);
    x = x + s;
Results 1 to 2 of 2