Look closely at my last post, you'll notice a difference in the psuedo-code I have given from the code you have in the above quote. Determine if you want 0 through 10 all inclusive or 0 to 10 (not...
Type: Posts; User: kenster421
Look closely at my last post, you'll notice a difference in the psuedo-code I have given from the code you have in the above quote. Determine if you want 0 through 10 all inclusive or 0 to 10 (not...
While the counter is less than 10:
double the counter and store it in another variable
quadruple the counter and store that in another variable
print the info
increment the counter by 1
This link: The while and do-while Statements (The Java™ Tutorials > Learning the Java Language > Language Basics) will teach you the basics of a while loop.