#include <stdio.h>int compute_sum(int n,int i);
int main(void){ int sum; sum = compute_sum(200,100); printf("100ºÎÅÍ 200±îÁö 3ÀÇ ¹è¼öÀÇ ÇÕ = %d \n", sum); return 0;}
int compute_sum(int n,int i){ int result = 0; int k; for (k = i; k <= n; k++) { if (k % 3 == 0) result = result + k; }
return result;}