SCS2204_Tutorial_03

these are the answers for following questions;

  1. Write a function in Scala that takes a string as input and returns the reverse of the string using a recursive approach.
  2. Write a function in Scala that takes a list of strings as input and returns a new list containing only the strings that have a length greater than 5.
  3. You are given two integers, num1 and num2. Write a function in Scala to determine the arithmetic mean (average) of the two numbers, rounded to two decimal places. Return the result as a floating-point number