• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need Help pls Help  RSS feed

 
lalbaug raja
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am stuck at one program
the program says the sum of all even numbers from 1 to 1000 so please if any one can help me out with the jam i am not gettin the actual syntax to be dispalyed in the for loop

any help will be appreceaited

Thanks in Advance
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post what you've tried so far? We can see if we can sport where you are going wrong.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12542
48
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you're trying to figure out where to start, then write down in words how you'd do this by hand.

What EXACTLY would you do if you were going to do it with paper an pencil?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!