Ad
  • Custom User Avatar

    How can i create a kata myself?

  • Custom User Avatar

    "For decimal numbers, return true only if the number is equal to its integer part and the integer part is odd."

    What does this sentence exactly mean ?

    It starts by saying "decimal numbers". Which for me means one or multiple decimal numbers but than it says "return true only if the number" which in this case is singular.

    So my question is:
    Will this be true ?
    1.1
    7.7
    7.77

    And this will be false?
    1.01
    1.10
    1.12
    7.17