Ad
  • Custom User Avatar

    Massive help, thanks for that.

  • Custom User Avatar

    that does read a lot better than the original yeah

  • Custom User Avatar

    Let's try to rephrase a bit:

    Given

    • the age of a father and
    • the age of his son

    find the year, Y, in which the father will be (if Y is in the future) or was (if Y is in the past) twice the age of his son.

    Return the difference between Y and the current year.

  • Custom User Avatar

    this absolutely needs to be rephrased in some way, the description is completely useless for solving the kata, it's asking the wrong question