Coding challenge

Write some code to find the sum of the even integers up to 2003. Then, have it do the same for the odd integers. What is the difference between the two sums? (Ans: 2003) (AMC 12A 2003)

Type your code here:

Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: