|
-
Jan 24th, 2007, 02:34 PM
#1
Thread Starter
Junior Member
calculator game problem
i am creating a simple game on a TI-83 plus calculator where you pick a number and the calculator randomly creates a number and tells you if you're right or wrong.
The problem is that i can't get it to store the randomly created int. the code is:
Input "Guess?", X
If X>0
Then
*randInt(1,10,1) -> Y*
If X=Y
Then
Disp "Correct"
Else
If X doesn't = Y
Then
Disp "Incorrect", {Y}
Pause
prgmGAME
*code*=need help with this line
-
Jan 24th, 2007, 03:49 PM
#2
Re: calculator game problem
I'm not sure what the problem is, but the programming language you're using is some form of BASIC, not C/C++, so I've moved your thread to the "other BASIC" section.
Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.
-
Jan 26th, 2007, 03:38 PM
#3
Frenzied Member
Re: calculator game problem
incidentally, i believe to store something in y you do y->whatever
-
Mar 11th, 2007, 08:14 AM
#4
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|