Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. public class Kata {
  2. public static int squareSum(int[] numbers) {
  3. int sum = 0;
  4. for (int n : numbers) {
  5. sum += n * n;
  6. }
  7. return sum;
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement