Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Kata {
- public static int squareSum(int[] numbers) {
- int sum = 0;
- for (int n : numbers) {
- sum += n * n;
- }
- return sum;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement