Tuesday, October 16, 2012

Java Exercise #24: Sum Skipping Numbers

This program is an exercise to use the keyword continue in loops.

Exercise: Write a program that sums integers from 0 to 20 but skipping the numbers 10 and 11.


The Sum is: 189


Download Code: Sum Skipping Numbers

No comments:

Post a Comment