Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -4,7 +4,7 @@ public class SumSquares
|
|||
{
|
||||
double sum = 0;
|
||||
int[] nums = {1,2,3,4,5};
|
||||
for (int i : sum)
|
||||
for (int i : nums)
|
||||
sum += i * i;
|
||||
System.out.println("The sum of the squares is: " + sum);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue