Test whether the number is divisible by 7 or not

Test cases:

Test cases Expected Result
isDivisibleBy7(17) false OK
isDivisibleBy7(77) true OK
isDivisibleBy7(12) false OK

Java solution:

Javascript solution:


About the author

Bushan Sirgur

Well, I am Bushan Sirgur from Banglore, India. Currently, I am working as a Software Developer in a Service Base Company. I am interested in JAVA/J2EE, Angular 2, JavaScript, jQuery, MongoDB.

View all posts

Leave a Reply

Your email address will not be published. Required fields are marked *