I just made this to get the final answer for this question. "Find the sum of all the multiples of 3 or 5 below 10000." I haven't got no errors on my code, but I also did not get an answer out of my code. What could be the problem?
I was just declaring that variable to equal to the max multiple (2000 and 3333), but how come it doesn't go through the if else statement? What should I change then without messing up the rest?
it means when f and t both are zero then only it execute if condition but here value of f and t are 2000 and 3333 respectively. so it is executing else statement.
Life is easy because we write the source code.....