Adds The Square Of All Integers From 1 To The Number Entered Make Sure

Adds The Square Of All Integers From 1 To The Number Entered Make Sure

Page 1 of 1

1 Replies - 551 Views - Last Post: 04 July 2009 - 06:46 AM Rate Topic: -----

#1 rjalali  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-July 09

Adds The Square Of All Integers From 1 To The Number Entered Make Sure

Posted 03 July 2009 - 11:54 PM

make sure to do a loop
For instance if 4 is entered, your program should compute 1 + 2*2 + 3*3 + 4*4 = 30. Your program should display the result, 30 with this example.

This post has been edited by rjalali: 04 July 2009 - 12:09 AM

Is This A Good Question/Topic? 0
  • +

Replies To: Adds The Square Of All Integers From 1 To The Number Entered Make Sure

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6036
  • View blog
  • Posts: 23,429
  • Joined: 23-August 08

Re: Adds The Square Of All Integers From 1 To The Number Entered Make Sure

Posted 04 July 2009 - 06:46 AM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1