what is the sum of the multiples of 5 from 80 to 140 , inclusive ?
"the formula we want to use in this type of problem is this : average * total numbers = sum first , find the average by taking the sum of the f + l number and divide it by 2 : a = ( f + l ) / 2 second , find the total numbers in our range by dividing our f and l numbers by 5 and add 1 . ( 140 / 5 ) - ( 80 / 5 ) + 1 multiply these together so what we show average * total numbers = sum ( 80 + 140 ) / 2 * ( 140 / 5 ) - ( 80 / 5 ) + 1 = sum 110 * 9 = 990 c"
multiply(divide(add(subtract(140, const_3), add(80, const_2)), const_2), add(divide(subtract(subtract(140, const_3), add(80, const_2)), 5), const_1))