Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main (String [] args) {
- int sum = 0;
- for(int i = 100; i<=700; i++) {
- if(i % 10 == 5) {
- sum += i;
- }
- }
- System.out.print(sum);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement