Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: write a thread to toss a coin 1000 times and print if it is a fair or biased coin. a coin is fait if difference of frequency of heads and tails in less than or equal to 50...help please

  1. #1
    Junior Member
    Join Date
    Sep 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question write a thread to toss a coin 1000 times and print if it is a fair or biased coin. a coin is fait if difference of frequency of heads and tails in less than or equal to 50...help please

    write a thread to toss a coin 1000 times and print if it is a fair or biased coin. a coin is fait if difference of frequency of heads and tails in less than or equal to 50...help please


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: write a thread to toss a coin 1000 times and print if it is a fair or biased coin. a coin is fait if difference of frequency of heads and tails in less than or equal to 50...help please

    What have you tried?
    What specific java coding questions do you have?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: write a thread to toss a coin 1000 times and print if it is a fair or biased coin. a coin is fait if difference of frequency of heads and tails in less than or equal to 50...help please

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    We'll help you with you're code and answer your questions about it as best we can, but we won't write the code for you. Please come back when you have some code you need help with.

Similar Threads

  1. Replies: 2
    Last Post: March 28th, 2014, 09:59 AM
  2. Skipping parts of if loop (Coin toss Program)
    By ChicoTheMan94 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 5th, 2012, 03:52 PM
  3. Making Coin Toss for Football game
    By tyb97 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 2nd, 2011, 02:00 PM
  4. [SOLVED] Java Noob: Coin Toss Simulator (no GUI)
    By bgroenks96 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: June 4th, 2011, 10:28 PM
  5. Question about my coin toss program
    By CheekySpoon in forum What's Wrong With My Code?
    Replies: 3
    Last Post: February 9th, 2010, 04:14 AM

Tags for this Thread