Ad
  • Custom User Avatar

    sometimes ==0 equals to <1 (only sometimes) and hope you never used %1 in your code ;-)
    is this helpful?

  • Custom User Avatar

    Okay, so you're probably stuck at the last part.

    Hint: there is a way to invoke functions without using parenthesis.

  • Custom User Avatar

    The hints below are barely subtle at all, but just in case: ==0 cannot save you 3 bytes (from 49 to 46), so you shouldn't worry about that yet.

    The first trick involved would be what I'd imagine a script kiddie who self-learns only JS and knows nothing about "best practices" or C syntax would do :P And the second one is very obscure. You'll need the second when you reach 47.

  • Default User Avatar

    I'm still struggling to write a proper test, I do aplogize But bassically I want the test to check for the fact that the loop runs until t <= 45 and logs out every number that is divisible by 5 between 0 and 45. Im just not sure how to write that test. I received a suggestion to look at other tests from katas i have passed so i think i will try that and see if it helps me write a better test. But honestly this code wars is really just for when I think i have spare time. I have assignments and readings that take priority and if I'm not burned out after that I can come back here and tweek on my kata and work on others.

    Thank you for your interest in my kata, I wasnt expecting to have anyone look at it really execpt classmates =)