
-----------------------------------
craigmac
Wed Oct 01, 2008 8:09 pm

Not sure whats wrong
-----------------------------------
Figured out myself  :D 
 thanks anyways  :)

-----------------------------------
The_Bean
Wed Oct 01, 2008 8:25 pm

Re: Not sure whats wrong
-----------------------------------
replace
(numberCoke * priceCoke) + (numberPepsi * pricePepsi) = totalCost 

with
totalCost := (numberCoke * priceCoke) + (numberPepsi * pricePepsi) 

variables go on the left := then what you want them to become

I'm surprised it actually ran for you like that.

and use code tags next time

[code]
    put code here
[/code]


-----------------------------------
HellblazerX
Wed Oct 01, 2008 8:26 pm

RE:Not sure whats wrong
-----------------------------------
It'd be good if you kept the problem and posted up your solution for future reference, in case some1 else get's the same problem as you.

-----------------------------------
S_Grimm
Thu Oct 02, 2008 7:34 am

RE:Not sure whats wrong
-----------------------------------
post a note on the bottom of your thread that says you fixed it and mark it as solved. don't delete the original post.
Cheers
A\V
