+ 1
Sum of even number if (i%2=0) showing i=1 error
Sum of even numbers program showing variable 1 error in if condition?
2 Antworten
+ 6
You should use "==" instead of "=".
(i%2==0)
+ 5
It would be easier if you added the code
(i%2==0)
Sum of even numbers program showing variable 1 error in if condition?