From 93ea7fe5957b62f18e8fbd17a21696bd7de6332d Mon Sep 17 00:00:00 2001 From: mjfernez Date: Sun, 9 Feb 2020 15:16:26 -0500 Subject: Organized everything, update README --- 01-Multiples-of-3-and-5/euler1 | Bin 0 -> 8608 bytes 01-Multiples-of-3-and-5/euler1.c | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100755 01-Multiples-of-3-and-5/euler1 create mode 100644 01-Multiples-of-3-and-5/euler1.c (limited to '01-Multiples-of-3-and-5') diff --git a/01-Multiples-of-3-and-5/euler1 b/01-Multiples-of-3-and-5/euler1 new file mode 100755 index 0000000..585d380 Binary files /dev/null and b/01-Multiples-of-3-and-5/euler1 differ diff --git a/01-Multiples-of-3-and-5/euler1.c b/01-Multiples-of-3-and-5/euler1.c new file mode 100644 index 0000000..d89956e --- /dev/null +++ b/01-Multiples-of-3-and-5/euler1.c @@ -0,0 +1,13 @@ +#include +#include +//Problem 1: multiples of 3 and 5 +int main(){ + int max = 1000; + int i; double sum; + + for (i=0;i