[Tutor] flip coin

Alan Gauld alan.gauld at blueyonder.co.uk
Fri Jan 30 03:33:38 EST 2004


> I have no idea how to do the flip a coin 100 times problem. Can
someone please
> post the right code for it. Thanks

Why don't you tell us what the poblem is first?
Then tell us how you think you wouyld approach it,
maybe showing us some code that doesn't work.
Then we can help you make it work :-)

If you are completely stuck think how you would
do it mentally, maybe using pencil and paper.

Programming is about breaking a problem into
smaller and smaller steps.

Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld




More information about the Tutor mailing list