Bill Allombert on Wed, 11 Jul 2012 13:49:31 +0200


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

Re: Hello


On Wed, Jul 11, 2012 at 02:41:36PM +0300, Ahmad Kamal wrote:
> i forget to tell you that the program works only at n less than or equal 4
> 
> On 11 July 2012 11:34, Ahmad Kamal <drkamal.mtc@gmail.com> wrote:
> 
> > Hi , i want to ask please about the command      x=random(p)    :

I suppose you can do:

x=1+random(p-1)

Cheers,
Bill.