Ok, there are a few problems;
first:
the semi-colon means the function is over, change it
Next, your comments are broken:
Code:
/*works out random number if more than 0.5 then
*/the person is lucky then displays results
Change it so, all of the comment is commented:
Code:
/*works out random number if more than 0.5 then
the person is lucky then displays results
*/
|