Stuck with a loop

I need to write a program that adds 1/3 to itself 1 billion times and displays the result every power of ten times. I've written some simple programs in the past but I've never dealt with loops before and I have no idea where to start with this one. Any hints would be greatly appreciated!
Any code? With code tags - the <> button on the right.

Look at the reference pages - top left of this page, for info about loops.
Topic archived. No new replies allowed.