Hello i am new to the Scala programming language and i need some help to complete an assignment. i have been given a program with some unfinished methods that i need to complete
the first method is :
def listStatementTypesUsed(statements: Statements): List[String] =
throw new Exception(“listStatementTypesUsed - replace this thrown exception with an implementation”)
What this needs to do is print a list of all the statement types used within the program however i dont know what to do can anyone help?