Ad
Code
Diff
  • package kata
    
    func Multiple3And5(number int) int {
      sum := 0
      for i:= 1;i< number;i++{
        if i%3==0||i%5==0{
         sum += i 
        }    
      }
      return sum
    }
    • package kata
    • func Multiple3And5(number int) int {
    • sum := 0
    • for i:= 1;i< number;i++{
    • if i%3==0||i%5==0{
    • sum += i
    • }
    • }
    • return sum
    • }