Computer Science Canada

Not sure whats wrong

Author:  craigmac [ Wed Oct 01, 2008 8:09 pm ]
Post subject:  Not sure whats wrong

Figured out myself Very Happy
thanks anyways Smile

Author:  The_Bean [ Wed Oct 01, 2008 8:25 pm ]
Post subject:  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:

[code]
    put code here
[/code]

Author:  HellblazerX [ Wed Oct 01, 2008 8:26 pm ]
Post subject:  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.

Author:  S_Grimm [ Thu Oct 02, 2008 7:34 am ]
Post subject:  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


: