Oct-10-2016, 03:19 PM
First, note that the example given as class work never sums anything. It's going to print the sum from 1 to 10 as 0, when it's actually 55.
Second, the problem as you state it is not clear. What fractions are you supposed to be summing?
Third, try something and tell us clearly how it doesn't work. We don't like to write code for people, we like to help people fix code that isn't working.
Second, the problem as you state it is not clear. What fractions are you supposed to be summing?
Third, try something and tell us clearly how it doesn't work. We don't like to write code for people, we like to help people fix code that isn't working.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures