June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
7
Task/Dot-product/BASIC/dot-product-2.basic
Normal file
7
Task/Dot-product/BASIC/dot-product-2.basic
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
DIM vec1(2), vec2(2), dot(0)
|
||||
|
||||
vec1() = 1, 3, -5
|
||||
vec2() = 4, -2, -1
|
||||
|
||||
dot() = vec1() . vec2()
|
||||
PRINT "Result is "; dot(0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue