Ad
  • Custom User Avatar

    Massive help, thanks for that.

  • 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.