Skip to content

Update howManyHoursISpentOnThisLab.scala

  • Added missing parenthesis in howManyHoursISpentOnThisLab.scala to pass the online tests
  • Changed the returned type from Int to Double in the same file
  • Updated the TimeSpentSuite.scala to call the howManyHours... method correctly with parenthesis

See the following ed discussion for more context:
And my answer:

Edited by Alexander Karim Wohlfahrt

Merge request reports