Line 1: Line 1:
<code>
+
<pre>
#include<stdio.h>
+
<code class="language-c">
int main()
+
int unknown(int n){  
{
+
int i, j, k=0;
int a;
+
for (i=n/2; i<=n; i++)
  a = 8;
+
    for (j=2; j<=n; j=j*2)
}
+
k = k + n/2;
 
+
return (k);  
</code>
+
}  
\sigma
+
</code></pre>
<math>\sigma\sigma\delta\Delta</math>
 

Revision as of 21:01, 15 November 2013

<code class="language-c">
int unknown(int n){ 
	int i, j, k=0; 
	for (i=n/2; i<=n; i++) 
	    for (j=2; j<=n; j=j*2) 
		k = k + n/2; 
	return (k); 
} 
</code>
<code class="language-c">
int unknown(int n){ 
	int i, j, k=0; 
	for (i=n/2; i<=n; i++) 
	    for (j=2; j<=n; j=j*2) 
		k = k + n/2; 
	return (k); 
} 
</code>