advise me pls

I have 2 problems.Can some1 help me please ? :)
(I'm beginer and I'm desperate)

1.Write a program that inp
uts five- digit integer,separetes the integer into its individual digits and prints the digits separated from one another by three spaces each .

2.Write the program that calculates the squares and cubes of the integers from 0 to 10 and uses tabs to print the following neatly formatted table of values.



Thank you a lot !!!! :)))
Have you coded anything yet?
1) Already solved in this site, try with the "Search" button on the blue bar appearing on top of the this site...

2) pow() could help you as well as '\t' and for
http://www.cplusplus.com/reference/clibrary/cmath/pow.html
http://www.cplusplus.com/doc/tutorial/constants.html
http://www.cplusplus.com/doc/tutorial/control.html#for


3) How to ask questions the smart way http://www.cplusplus.com/forum/articles/1295/
Last edited on
Topic archived. No new replies allowed.