Talk:Guess the number/With feedback: Difference between revisions
ReeceGoding (talk | contribs) |
ReeceGoding (talk | contribs) |
||
Line 37: | Line 37: | ||
-- [[User:Gerard Schildberger|Gerard Schildberger]] 19:30, 1 July 2012 (UTC) |
-- [[User:Gerard Schildberger|Gerard Schildberger]] 19:30, 1 July 2012 (UTC) |
||
== What do we mean by "number"? == |
== What do we mean by "number"? And must the limits be distinct and inclusive? == |
||
I suspect that the task wants integers, but that's not what is actually said. Having to guess 8.5455445362456 is probably not what you want when you ask for a number between 1 and 10. |
I suspect that the task wants integers, but that's not what is actually said. Having to guess 8.5455445362456 is probably not what you want when you ask for a number between 1 and 10. Furthermore, it does not specify that the "set limits" must be unequal or if they're exclusive or inclusive. For example, are we allowed to look for a number between 4 and 4? What about between 4 and 5? |
||
Should I change the task description?--[[User:ReeceGoding|ReeceGoding]] ([[User talk:ReeceGoding|talk]]) 14:08, 1 June 2020 (UTC) |
Revision as of 14:59, 1 June 2020
Why draft?
Please sync with: Talk:Guess the number#dupe? (sort of) --Paddy3118 6:06, 29 October 2010 (UTC)
- Personally, I think this game is a more interesting game than that one. --Rdm 16:44, 2 November 2010 (UTC)
I feel quite lucky to have found this bit of info. However, I rather be able to compare each of the coded at it's most minimal to process the same randomized fully interactive goal...
GUESS THE NUMBER GAME
Please enter a number between 1 and 100: 50 Your guess was too low. Try again: 75 Your guess was too high. Try again: 60 You guessed correctly in 3 attempt(s)
Play again? y/n n
REXX example
In REXX
if g>high then do call ser g 'is above the higher limit of' low iterate end
shouldn't this be high?
--Walterpachl 19:10, 30 June 2012 (UTC)
Yes, corrected to: <lang rexx> if g>high then do
call ser g 'is above the higher limit of' high iterate end</lang>
-- Gerard Schildberger 19:30, 1 July 2012 (UTC)
What do we mean by "number"? And must the limits be distinct and inclusive?
I suspect that the task wants integers, but that's not what is actually said. Having to guess 8.5455445362456 is probably not what you want when you ask for a number between 1 and 10. Furthermore, it does not specify that the "set limits" must be unequal or if they're exclusive or inclusive. For example, are we allowed to look for a number between 4 and 4? What about between 4 and 5?
Should I change the task description?--ReeceGoding (talk) 14:08, 1 June 2020 (UTC)