ya, i know my ad is not a very good ad, but i did it in about 5 min so... but yeah, it would be cool if you could make an ad and a scratch award winner thing, but put them in diff projects please
using mod makes sense. also if number divided by 3 -round(number diveded 3) = 0 say beep.
it doesnt seem to 'bop' i waited until i got a multiple of 15 (it was 45) but it said boop.
good work though
Nice. I didn't think of using the mod math function. My method involved using repeat until loops to subtract the number until it was lower until 3 or 5. Well done!
I solved archmage's programming challenge in one script, in only about 5 minutes. =P Basically, it generates a random number between 10 and 100, then if the number is a multiple of 3 it says Boop, if the number is a multiple of 5 it says Beep!, and if it is a multiple of both is says Bop.
You might have to run it a few times to get it to say something, because it generates only 1 random number per run.
Comments
You need to be logged in to post comments
Add a Comment
ya, i know my ad is not a very good ad, but i did it in about 5 min so... but yeah, it would be cool if you could make an ad and a scratch award winner thing, but put them in diff projects please
(view all replies)Comment Reply
Cool!
(view all replies)Comment Reply
using mod makes sense. also if number divided by 3 -round(number diveded 3) = 0 say beep. it doesnt seem to 'bop' i waited until i got a multiple of 15 (it was 45) but it said boop. good work though
(view all replies)Comment Reply
Nice. I didn't think of using the mod math function. My method involved using repeat until loops to subtract the number until it was lower until 3 or 5. Well done!
(view all replies)Comment Reply