Quote:
Originally Posted by ki72 I'm trying to Write a Little Man program that prints out the successive sums of sum of the first 39 integers - i.e. the number of the form 1, 1+3, 1+3+5, ..........., 1+3+5+7+....+39.
I really need you guys help because I don't really understand. Thanks! |
You aren't showing any even numbers, so do you need:
- Sum of the 1st 39 integers?
- Sum of the first 39 odd integers?
- Sum of the odd integers up to and including 39?