PPRuNe Forums - View Single Post - C Code Anyone?
Thread: C Code Anyone?
View Single Post
Old 19th March 2008 | 14:23
  #7 (permalink)  
planecrazy.eu
 
Joined: Jun 2006
Posts: 526
Likes: 0
From: BRISTOL!
Thats just what i need....

I have another problem now...

The code is similar

for(i=1;i<=number;i++)

{

for(j=i+1;j<=number;j++);
{
e = j + c^2

}
}

What i need to do is get the value for e, then on the next loop add the new e value to the old e value to sum up?

Any ideas?

Code is an example, so might be a little not to the point.
planecrazy.eu is offline  
Reply