Ad
  • Default User Avatar

    I had this issue when I ended up not returning anything from a function that had a return value (non void function skipped its return statement).

  • Default User Avatar

    Your current solution prints the number to the screen and returns void.
    Instead, your function should return the rounded number.