Computer Science Canada can someone fic this program plz |
| Author: | new programmar [ Tue Apr 13, 2004 5:31 pm ] |
| Post subject: | can someone fic this program plz |
var guess, hidden, tries : string var continue: real randomize put "Welcome to the wonderfull number guessing Game" put " " put "Guess a number between 1 and 200." put " " tries = "0" rand (hidden( 1, 100) loop put "Please enter a number between 1 and 200" read "guess" tries = "tries + 1" exit when guess := "hidden" end loop put " " Put "Graet, you got the number is " put " " tries, guesses |
|
| Author: | gamer [ Tue Apr 13, 2004 5:47 pm ] | ||||||||||||
| Post subject: | |||||||||||||
i'll point out wuts wrong with ur code.....but i aint gonna change them for u cuz i think thats ur job (just double check n look up in help manual)
|
|||||||||||||
| Author: | AsianSensation [ Tue Apr 13, 2004 5:49 pm ] | ||
| Post subject: | |||
I really think you should learn some basic syntax first. Most of these are just syntax errors. I don't know if it's because you don't understand it, or you don't know how to use the different commands.
|
|||
| Author: | EDEN-E [ Tue Apr 13, 2004 8:22 pm ] | ||
| Post subject: | Re: can someone fic this program plz | ||
|
|||