Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Not sure whats wrong
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
craigmac




PostPosted: Wed Oct 01, 2008 8:09 pm   Post subject: Not sure whats wrong

Figured out myself Very Happy
thanks anyways Smile
Sponsor
Sponsor
Sponsor
sponsor
The_Bean




PostPosted: 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]
HellblazerX




PostPosted: 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.
S_Grimm




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: