Kata of the Day #4

Multiples of 3 or 5

kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
kata
Kata of the Day #4

Return if a number is a multiple of 3 and 5.

TypeScript


function multiple3And5(n: number): boolean {
  return n % 15 == 0;
}

Go


func Multiple3And5(n int) bool {
  return n % 15 == 0
}

Go to Kata
ByJulie Kohl

Need some help?

Want us to give you some help with your business? No problem, here's a video on who we can help, and how, along with our calendar so you can book in a call to discuss us working together.

Let's see
budget
budget
budget
budget
budget
budget
budget
budget
budget
budget

Subscribe to our newsletter

subscribe
subscribe
subscribe
subscribe
subscribe
subscribe
subscribe
subscribe
subscribe
subscribe