Write a for loop that will produce the following output on the screen:
2 + 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 + 20 = 110
You have to use comma operator in your for loop and the sum has to be calculated by your loop too.
anyone can give me some hints to write the code?? i really don't have any idea of it =(
thanks !!