Re: A86: Starting to Program: Games


[Prev][Next][Index][Thread]

Re: A86: Starting to Program: Games



In a message dated 97-10-28 15:16:51 EST, you write:

> 
>  I would like to create a few test programs, such as a hi-low game (that is
 
> a
>  guessing game)  Can you make the user INPUT numbers?  Also, i read a 
>  previous FAQ that covered "randomize".  Could you explain how to get a 
>  random number, using an example? (the number 100).
>  

About inputting numbers, it depends.  If you want to get any real #, then you
can just use the routine that Pat posted a few days ago.  If you just want a
restricted integer, try the routine in Chem86 that takes in the atomic number
input.

~Steve