Java
Using int i and int sum write the code segments to find the sum of all numbers from 131 to 6017 going up by 37s using a "for" statement (for loop).
sum = 0; for(i = 131;i<=6017;i+=37){ sum += i; } System.out.println(sum);
Java Using int i and int sum write the code segments to find the sum of...
Coins can be redeemed for fabulous gifts.
Log In
Sign Up
Post an Article +5 Coins
Post an Answer +5 Coins
Post a Question with Answer +5 Coins