Page 1 of 19
javascript mission 3

Posted:
Sat Apr 19, 2008 8:14 am
by grot3sq
o.O i don't get it, i type the number that i get, but it tells me im wrong o.0
and its not a wrong number o.0
whats the catch in this one
and yes, i am a noob with capital N
Re: javascript mission 3

Posted:
Sat Apr 19, 2008 8:56 am
by GTADarkDude
I think you should pay a little more attention to this line:
- Code: Select all
if (x.length == moo)
They compare the value of the variable 'moo' not to the value of what you enter...
Re: javascript mission 3

Posted:
Sat Apr 19, 2008 8:58 am
by grot3sq
yes i know... but i get moo = 11,75 i think something like that...
and if i type it, it says its wrong... o.O
Re: javascript mission 3

Posted:
Sat Apr 19, 2008 9:02 am
by GTADarkDude
That is definitly wrong. moo is NOT equal to 11,75. I guess you have to redo some calculations then.
Re: javascript mission 3

Posted:
Sat Apr 19, 2008 10:27 am
by grot3sq
5 + 6 * 7 = 47 - foo
47 / 8 = 5,875 - bar
5,785 * 2 = 11,75 - moo
o.0
EDIT: OMFG, nvm... i just realized its % not / in the second line
EDITEDIT: still not working... gosh... i hate math XD
Re: javascript mission 3

Posted:
Sat Apr 19, 2008 1:00 pm
by SammyJ
i have the right answer but it doesn't work
what am i doing wrong?
Re: javascript mission 3

Posted:
Sat Apr 19, 2008 2:31 pm
by c24lightning
SammyJ wrote:i have the right answer but it doesn't work
what am i doing wrong?
There is no "for sure" answer - there's more than one possibility...
Re: javascript mission 3

Posted:
Sat Apr 19, 2008 3:36 pm
by SammyJ
c24lightning wrote:SammyJ wrote:i have the right answer but it doesn't work
what am i doing wrong?
There is no "for sure" answer - there's more than one possibility...
what does that mean??
math is math....there is always a "for sure" answer
or r u saying that 1+1 could = 4?

Re: javascript mission 3

Posted:
Sat Apr 19, 2008 5:25 pm
by Rijnzael
You guys really shouldn't need to do any calculating here at all.
Re: javascript mission 3

Posted:
Sat Apr 19, 2008 8:49 pm
by SammyJ
Nvm did it
