Skip to content

Commit

Permalink
No idea how those tabs got there.
Browse files Browse the repository at this point in the history
  • Loading branch information
seaneshbaugh committed Sep 11, 2016
1 parent 6666c60 commit 20321cf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions c/001/001.c
@@ -1,15 +1,15 @@
#include <stdio.h>

int main(int argc, char *argv[]) {
int sum = 0;
int sum = 0;

for (int i = 1; i < 1000; i++) {
if (i % 3 == 0 || i % 5 == 0) {
sum += i;
}
}
for (int i = 1; i < 1000; i++) {
if (i % 3 == 0 || i % 5 == 0) {
sum += i;
}
}

printf("%d\n", sum);
printf("%d\n", sum);

return 0;
return 0;
}

0 comments on commit 20321cf

Please sign in to comment.