x=2;
while(x<n/2){
x =x*2;
}
1. x = 2
2. x = 4
3. x = 8
4. x = 16
......
y. x = 2^y
2^y = n ---------->y=log2n
x= 0;
while(n>(x+1)*(x+1)){
x =x + 1;
}
1. x = 0
2. x= 1
3. x= 2
...
y. x= y-1
y*y= n
y = 2n
i = 1;k=0
while(i<n-1){
k =k+10*i;
i + +;
}
1. i = 1
2. i = 2
3. i = 3
...
4. i = y
y = n-1