Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,11 +0,0 @@
|
|||
Function sum_of_squares(arr)
|
||||
If UBound(arr) = -1 Then
|
||||
sum_of_squares = 0
|
||||
End If
|
||||
For i = 0 To UBound(arr)
|
||||
sum_of_squares = sum_of_squares + (arr(i)^2)
|
||||
Next
|
||||
End Function
|
||||
|
||||
WScript.StdOut.WriteLine sum_of_squares(Array(1,2,3,4,5))
|
||||
WScript.StdOut.WriteLine sum_of_squares(Array())
|
||||
Loading…
Add table
Add a link
Reference in a new issue