Question: Need some immediate help coding this in Scala, Plz use a main method as well. In a package named lecture create an object named Lecture
Need some immediate help coding this in Scala, Plz use a main method as well.

In a package named "lecture" create an object named "Lecture Question" with a method named "fileSum" that takes a filename as a String and returns an Int which is the sum of the values in the file The input file will contain multiple lines each with multiple integer values separated by the '#' character Return the sum of all of the integer values in the file You may assume that the file exists and is properly formatted Sample file contents: 3#1#8 12#9#25#10 -2#12 1#2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
