First Frustration

I completed the Ruby Foundations video on Team Treehouse and decided instead of being passive and watching videos that I’d try to program a simple program.

I decided to tackle “Problem 1” on the Project Euler website:

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or 5 below 1000.

The actual coding shouldn’t be that difficult…except I’m a noob and nothing is easy. I’m currently trying to figure out a solution to the problem by Google searching for loops, while loops, until loops, creating arrays, how to input numbers into an array using a while loop.

I’m frustrated. And that’s ok.


Edit: I came with solutions to Problem 1 AND Problem 2. All I needed was a cup of coffee.

Leave a Reply