Each time you loop you overwrite the double finalpi with the statement
double finalpi = pistart + piloop;
pistart needs to be used only the first time. Either move it out of the loop or check if it...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: khaahk Search: Search took 0.01 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |