[CSC 204] How to roll the dice

Andrew J. Pounds pounds_aj at mercer.edu
Tue Mar 16 19:49:52 EDT 2010


> Dr Pounds I am having a time with the basics of creating a dice roll.
> is it.....
>
> Dice dice = new dice( );
>    

You are dealing with strings...

String roll;
roll = Dice.roll();

-- 
Andrew J. Pounds, Ph.D.  (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627



More information about the csc204 mailing list