instructions to execute the scala code.
- download the file
- extract it
- open the file with file explore
- tap on the file path
- type "cmd" and hit enter
- type "scalac tutorial4.scala" and hit enter in the cmd
- after object file has been created, type "scala tutorial4 q1" to see the answer for question 1
- if you want to see the answer for question 3 replace 'q1' with 'q3' and proceed.