http://www.sendspace.com/file/do7486
Can someone please explain the assignment & give me some hints.
The way am thinking to do is like this..
enter ur input:
1024
i take 1024 and do a loop, divide it by 8 until the number is less then 8. when its less then 8. thats power3: 2 returned and goes out of the loop.
i = 0;
while number >=8
power i : number
number = number/8;
i = i + 1;
end
power i : number
any help plz? consider am newly starting to work under unix