Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    59
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Loop problem. :( [ Difficulty : Hard ]

    I really need your help guys..
    I need to make this one :

    It will Prompt :
    "Enter a Number : "

    After entering a number, example I input 4.

    4 + 3 + 2 + 1 = 10
    16 + 9 + 4 + 1 = 30
    The output will be,

    4 + 3 + 2 + 1 = 10
    The sum of the squared numbers is : 30


    I tried making it but still, it won't work..
    Last edited by Millenia; 08-16-2009 at 06:16 PM.

  • #2
    New Coder
    Join Date
    May 2009
    Posts
    59
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I figured it out..


  •  

    Posting Permissions

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