aboutsummaryrefslogtreecommitdiff
path: root/project3/output.txt
diff options
context:
space:
mode:
authorJacobAKnox <[email protected]>2021-12-03 11:51:11 -0800
committerJacobAKnox <[email protected]>2021-12-03 11:51:11 -0800
commitd0a97a57807fce1dbd093a96837bfd93120b141c (patch)
tree6574bc670bbb44a864aa57eb84e4784734393d6b /project3/output.txt
parentAdd online IDE url (diff)
downloadcst116-proj3-jacobaknox-master.tar.xz
cst116-proj3-jacobaknox-master.zip
project3 uploadHEADmaster
Diffstat (limited to 'project3/output.txt')
-rw-r--r--project3/output.txt133
1 files changed, 133 insertions, 0 deletions
diff --git a/project3/output.txt b/project3/output.txt
new file mode 100644
index 0000000..5030f60
--- /dev/null
+++ b/project3/output.txt
@@ -0,0 +1,133 @@
+Input the values for the first matrix:
+Input the matrix value at 1, 1: 1
+Input the matrix value at 1, 2: 2
+Input the matrix value at 1, 3: 3
+Input the matrix value at 2, 1: 4
+Input the matrix value at 2, 2: 5
+Input the matrix value at 2, 3: 6
+Input the matrix value at 3, 1: 7
+Input the matrix value at 3, 2: 8
+Input the matrix value at 3, 3: 9
+Input the values for the second matrix:
+Input the matrix value at 1, 1: 4
+Input the matrix value at 1, 2: 5
+Input the matrix value at 1, 3: 3
+Input the matrix value at 2, 1: 2
+Input the matrix value at 2, 2: 7
+Input the matrix value at 2, 3: 9
+Input the matrix value at 3, 1: 2
+Input the matrix value at 3, 2: 6
+Input the matrix value at 3, 3: 0
+ --Matirx Prorgam--
+1. Input new matricies
+2. Multiply matricies
+3. Add matricies
+4. Exit Program
+
+Input your choice: 3
+The result of adding
+[1.000][2.000][3.000]
+[4.000][5.000][6.000]
+[7.000][8.000][9.000]
+with
+[4.000][5.000][3.000]
+[2.000][7.000][9.000]
+[2.000][6.000][0.000]
+is:
+[5.000][7.000][6.000]
+[6.000][12.000][15.000]
+[9.000][14.000][9.000]
+ --Matirx Prorgam--
+1. Input new matricies
+2. Multiply matricies
+3. Add matricies
+4. Exit Program
+
+Input your choice: 2
+The result of multiplying
+[1.000][2.000][3.000]
+[4.000][5.000][6.000]
+[7.000][8.000][9.000]
+with
+[4.000][5.000][3.000]
+[2.000][7.000][9.000]
+[2.000][6.000][0.000]
+is:
+[14.000][37.000][21.000]
+[38.000][91.000][57.000]
+[62.000][145.000][93.000]
+ --Matirx Prorgam--
+1. Input new matricies
+2. Multiply matricies
+3. Add matricies
+4. Exit Program
+
+Input your choice: 1
+Input the values for the first matrix:
+Input the matrix value at 1, 1: 3
+Input the matrix value at 1, 2: 0
+Input the matrix value at 1, 3: -1
+Input the matrix value at 2, 1: 0
+Input the matrix value at 2, 2: 4
+Input the matrix value at 2, 3: 2
+Input the matrix value at 3, 1: 5
+Input the matrix value at 3, 2: -3
+Input the matrix value at 3, 3: 1
+Input the values for the second matrix:
+Input the matrix value at 1, 1: 1
+Input the matrix value at 1, 2: -5
+Input the matrix value at 1, 3: 0
+Input the matrix value at 2, 1: 4
+Input the matrix value at 2, 2: 1
+Input the matrix value at 2, 3: -2
+Input the matrix value at 3, 1: 0
+Input the matrix value at 3, 2: -1
+Input the matrix value at 3, 3: 3
+ --Matirx Prorgam--
+1. Input new matricies
+2. Multiply matricies
+3. Add matricies
+4. Exit Program
+
+Input your choice: 3
+The result of adding
+[3.000][0.000][-1.000]
+[0.000][4.000][2.000]
+[5.000][-3.000][1.000]
+with
+[1.000][-5.000][0.000]
+[4.000][1.000][-2.000]
+[0.000][-1.000][3.000]
+is:
+[4.000][-5.000][-1.000]
+[4.000][5.000][0.000]
+[5.000][-4.000][4.000]
+ --Matirx Prorgam--
+1. Input new matricies
+2. Multiply matricies
+3. Add matricies
+4. Exit Program
+
+Input your choice: 2
+The result of multiplying
+[3.000][0.000][-1.000]
+[0.000][4.000][2.000]
+[5.000][-3.000][1.000]
+with
+[1.000][-5.000][0.000]
+[4.000][1.000][-2.000]
+[0.000][-1.000][3.000]
+is:
+[3.000][-14.000][-3.000]
+[16.000][2.000][-2.000]
+[-7.000][-29.000][9.000]
+ --Matirx Prorgam--
+1. Input new matricies
+2. Multiply matricies
+3. Add matricies
+4. Exit Program
+
+Input your choice: 4
+Exiting program...
+C:\Users\jakno\source\repos\CST116\project3\Debug\project3.exe (process 13744) exited with code 0.
+Press any key to close this window . . .