Oct-10-2016, 10:47 PM
(Oct-10-2016, 06:27 PM)Mekire Wrote:(Oct-10-2016, 06:23 PM)EwH006 Wrote: It was a typo to begin with, pfft. Mekire
I wasn't referring to any typo. Your corrected, working code, that sums the range was what I was referring to. Anyway, what do you mean by sum fractions? Without a better explanation we can't help. You want a range that takes non integer steps?
Sorry had to go to class. I was thanking you Mekire for the post you had previously submitted. I can't edit / delete my posts. Anyway I'm looking to do the same thing with the code I gave but I need to use the following fractions, in which I don't know how apply to the syntax of while or for loops: 1/3 , 3/5, 5/7, 7/9, 9/11, 11/13, +..... all the way to 97/99 = 45.12445030305
It won't let me use floating point numbers in the for loop for sure.