-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.scala
39 lines (27 loc) · 997 Bytes
/
template.scala
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import scala.io.StdIn.readInt
import scala.collection.mutable.ArrayBuffer
object matrixManipulation {
def main(args: Array[String]) =
/**
Your code Here
****IMPORTANT NOTE*****
Indentation Matters
---Section 1---
Take in the dimensions for M1 (rows followed by columns)
Create and populate ArrayBuffer with user input
Print M1
---Section 2---
Take in the dimensions for M2 (rows followed by columns)
Create and populate ArrayBuffer with user input
Print M2
---Section 3---
Create a new ArrayBuffer that will hold the transpose
of M2
---Section 4---
Create a new ArrayBuffer that will hold the scalar
multiplication of m1 with the user specified multiplier
---Section 5---
Create a new ArrayBuffer that will hold the addition of
M1 and M2. Matricies must be of equal size in order to add
*/
}