I need help with Coin toss program

ok so im trying to do this cointoss program cause i have the java an intro to problem solving and programming 4th editioni have no idea how to do this would someone be able to help me with this it would be a big helpfor anyone that has the book its on page 126 number 6
[290 byte] By [iknowTOOlittleaboutprograminga] at [2007-11-26 20:09:06]
# 1
Look into the [url= http://java.sun.com/j2se/1.5.0/docs/api/java/util/Random.html]java.util.Random[/url] class.
CaptainMorgan08a at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 2
> i have no idea how to do thisStart by reading the book and applying the concepts therein. The following may also be useful:[url= http://java.sun.com/docs/books/tutorial/java/index.html]The Java?Tutorial - Trail: Learning the Java Language[/url]~
yawmarka at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 3

> for anyone that has the book its on page 126 number 6

My book reads something I cannot reproduce here because it's a

family forum; kids might read this. The only thing I can say is read up

on the Random class and its nextInt() method.

kind regards,

Jos

JosAHa at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 4
im just lost on how to do it im fine with some other things but this is just got me entirely lost can someone tell me what to put cause its the only thing could really help right now
iknowTOOlittleaboutprogramin at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 5

> can someone tell me what to put cause its the only

> thing could really help right now

No. That would be "doing it for you", and that's typically not how things work around here. If you're lost, just go back and start over with what you're confused about until you have some idea how to progress.

~

yawmarka at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 6
And please don't [url= http://forum.java.sun.com/thread.jspa?threadID=5142945&messageID=9528135#9528135]crosspost[/url]. It wastes peoples' time.
CaptainMorgan08a at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 7
>for anyone that has the book its on page 126 number 6Oh, *that* book.
DrLaszloJamfa at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 8
> >for anyone that has the book its on page 126 number> 6> > Oh, *that* book.Presumably, java an intro to problem solving and programming 4th edition....~
yawmarka at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 9
> Presumably, java an intro to problem solving and> programming 4th edition....> > ~wow that's special by you. that will cut down my time spent looking thru my collection of Grimm's faery tales.
dmbdmba at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...
# 10
> i have no idea how to do thisI always find that the trickiest thing about simulating a coin toss is the fluid dynamics. Still, if you simulate it in a vacuum then any half-decent physics engine will do.
YAT_Archivista at 2007-7-9 23:12:07 > top of Java-index,Java Essentials,Java Programming...