PPRuNe Forums - View Single Post - C Code Anyone?
Thread: C Code Anyone?
View Single Post
Old 20th March 2008 | 09:01
  #8 (permalink)  
under_exposed
20 Anniversary
 
Joined: Jun 2001
Posts: 238
Likes: 40
From: Bristol,UK
like this?

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

{

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

}
}
under_exposed is online now  
Reply