Re: help needed on inputting - tearing hair out .. please!!!
- From: "patrick_woflian" <gingercrock@xxxxxxxxxxx>
- Date: 28 Nov 2005 14:53:09 -0800
well.. i dont know how wrong my code is.. but i desparetly need help
hehe.. the psuecode solution is as follows:
Roll a 12 sided die to choose a number in the range 1....12
while the user has not made an incorrect guess
ask the user to guess whether they think the next number will be higher
or lower than the current number
prompt the user to enter either "hi" or "lo"
choose a new random number by rolling a 12 sided die
if the users guess was correct
increment a count of correct guesses
update the stroed current number
end if
end while
the game is over - tell the user how many correct guesses they made..
any ideas how to change my program!?!?
patrick
.
- Follow-Ups:
- Re: help needed on inputting - tearing hair out .. please!!!
- From: Oliver Wong
- Re: help needed on inputting - tearing hair out .. please!!!
- References:
- help needed on inputting - tearing hair out .. please!!!
- From: patrick_woflian
- Re: help needed on inputting - tearing hair out .. please!!!
- From: Michael Redlich
- Re: help needed on inputting - tearing hair out .. please!!!
- From: patrick_woflian
- Re: help needed on inputting - tearing hair out .. please!!!
- From: Oliver Wong
- help needed on inputting - tearing hair out .. please!!!
- Prev by Date: Re: Java compilation error message.
- Next by Date: Re: help needed on inputting - tearing hair out .. please!!!
- Previous by thread: Re: help needed on inputting - tearing hair out .. please!!!
- Next by thread: Re: help needed on inputting - tearing hair out .. please!!!
- Index(es):
Relevant Pages
|