CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    2

    Exclamation Need help with beginner's C++ program

    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.

  2. #2
    Join Date
    Aug 2005
    Location
    LI, NY
    Posts
    576

    Re: Need help with beginner's C++ program

    - Alon

  3. #3
    Join Date
    May 2008
    Posts
    2

    Re: Need help with beginner's C++ program

    It's not my homework just something I need to give my friend by tomorrow.

  4. #4
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: Need help with beginner's C++ program

    Quote Originally Posted by greendevil
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured