Return true if the given non-negative number is a multiple of 3 or a multiple of 5

Test cases:

Test cases Expected Result
or35(15) true OK
or35(8) false OK
or35(12) true 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 *