Click to See Complete Forum and Search --> : Need help with beginner's C++ program


greendevil
May 27th, 2008, 03:33 PM
I need a program that asks the user for starting and ending values and then display a formatted table of squares and cubes.

This is an example display of the program:

Enter the starting value: 7

Enter the ending value: 5

X.......X Squared........X Cubed
7.............49................343
6.............36................216
5.............25................125

Consider the "......" to be spaces. Could someone please help code this please. I am very new to C++ and I need this done by tomorrow. I am guessing this could take no more than 5 minutes to code for experienced C++ programmers.

Hermit
May 27th, 2008, 03:35 PM
http://www.codeguru.com/forum/showthread.php?t=366302

greendevil
May 27th, 2008, 03:37 PM
It's not my homework just something I need to give my friend by tomorrow.

GCDEF
May 27th, 2008, 03:43 PM
It's not my homework just something I need to give my friend by tomorrow.

Most of us make our living doing what we do because we're fairly intelligent.