print which calculator is in use

This commit is contained in:
array-in-a-matrix 2023-01-16 16:28:14 -05:00
parent 354be9dfa9
commit 8e92e9103c

View file

@ -47,6 +47,8 @@ proc calcCross(vector1: array[3, float], vector2: array[3, float]): array[3, flo
return vector
proc dot*() =
echo "MATRIX DOT PRODUCT"
#? record first matrix
echo "Enter number of rows in the first matrix:"
let r1: int = parseInt(readLine(stdin))
@ -77,6 +79,8 @@ proc dot*() =
printMatrix(m)
proc cross*() =
echo "VECTOR CROSS PRODUCT"
type
vector = array[3, float]
var