#include <stdio.h>

#define LIST_SIZE 1000

int divisible_by(int x, int y){
  return x % y == 0;
}

int sum_multiples_of(int n1, int n2){
  int list[LIST_SIZE], i, s;
  s = 0;
  for(i = 0; i < LIST_SIZE; i++){
    if(divisible_by(i, n1) == 1 || divisible_by(i, n2) == 1){
      list[i] = i;
      s += i;
    }
  }
  return s;
}

int main(int argc, char *argv[]){
  printf("%d\n", sum_multiples_of(3, 5));
}

Add C implementation for problem 1
Add C implementation for problem 1
