For those of you looking for some sort of challenge I found a cool site which will test your maths, logic and programming skills:
http://www.mathschallenge.net/index.php?section=project
Have Fun :)
Klodo
06-24-2004, 01:54 PM
This really is quite fun. I just finished the first one, and I begin to be addicted.
Second done. (Problem 6)
ZooTV
07-01-2004, 08:19 AM
Very interesting site, I have to recommend it. I can spend so many time over there and forget work... uh? I should get back to work. :)
KermitDFrog
07-01-2004, 08:23 AM
I got 4 of the probs done, but the 1st one just doesn't want to work for some ungodly reason, stupid multiples... pah!
ps, There IS a use for StrReverse!
~~Joe
Klodo
07-01-2004, 12:59 PM
I've done 7 of them now, and for the first one check this (I had this problem): They say "Find the sum of all the multiples of 3 or 5 below 1000."
You only have to count 1 time 15 and not 2 times.
I've done 50 problems :p
Checking for multiples is simple. Just loop through all the numbers 1 to 1000. If the number Mod multiple = 0 then the number is divisible by that number.
StUnT10011
07-01-2004, 01:58 PM
I've done 50 problems :p
Checking for multiples is simple. Just loop through all the numbers 1 to 1000. If the number Mod multiple = 0 then the number is divisible by that number.
dude, i love you. i couldnt figure out how to check if a number is divisble. thanx for showing me this time draining site too. ;)
Klodo
07-01-2004, 02:20 PM
For checking if a number is divisible I used
If i / Multiple = Int(i / Multiple) Then
This should prove to be faster over a long run:
If this Mod that = 0 Then MsgBox "Multiple"
herilane
07-01-2004, 03:15 PM
You don't need a computer for that one... you can solve it with pen and paper in a couple of minutes. :)
ZooTV
07-01-2004, 04:36 PM
I did it in Excel, I think it's less time consuming. :p
I did #8 and #11 jsut by looking at it for a while, not that hard. :)