Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Windows > HELP WITH CODEW...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 273 of 318
Post > Topic >>

HELP WITH CODEWARRIOR PROGRAM!!!

by "codeSuckior" <cul8r2fast4u@[EMAIL PROTECTED] > Apr 19, 2005 at 09:58 AM

i am in a programming class at my school and am FAILING! i wrote a program
to play a game of rock paper scissors and i dont know what the heck is
wrong with it. the line it is messing up on says
"if((userchoice.equalsIgnoreCase("rock") && choice = 1) ||
(userchoice.equalsIgnoreCase("paper") && choice = 2) ||
(userchoice.equalsIgnoreCase("scissors") && choice = 3));" it is
highlighting the first & sign and telling me 'Invalid left hand side of
assignment'. what the heck is going on? i have tried everything! can
anyone please help me, i MUST pass this class and am falling behind fast!
to anyone who has anything helpful, thanks in advance!




 4 Posts in Topic:
HELP WITH CODEWARRIOR PROGRAM!!!
"codeSuckior" &  2005-04-19 09:58:06 
Re: HELP WITH CODEWARRIOR PROGRAM!!!
rodd@[EMAIL PROTECTED] (  2005-04-19 18:30:16 
Re: HELP WITH CODEWARRIOR PROGRAM!!!
"codeSuckior" &  2005-04-20 09:43:47 
Re: HELP WITH CODEWARRIOR PROGRAM!!!
MW Ron <mwron@[EMAIL P  2005-04-20 11:48:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 10:56:56 CDT 2008.