Quote (ringo794 @ Oct 1 2014 12:06am)
People who code impress me to no end.
I had to take a computational physics class.
Almost died of stress just earning a C.
Never again...
iirc you're the math major right? vaguely recall hijacking someone's thread and talking about math careers lol
Quote (AnimeFTW @ Oct 1 2014 12:05am)
Code
var sum = 0;
for(var i = 0; i < 100; i++){
if(parseInt(i/3) === i/3){
sum += i;
}
}
alert(sum);
That's my no-math version.
writing code before putting thought into the solution? shame on you!
inb4ididthesamething
fakeedit: but with modulus
/realedit: shit, didnt even need modulus D:
This post was edited by carteblanche on Sep 30 2014 10:16pm