Search:

Type: Posts; User: mwr76

Search: Search took 0.19 seconds.

  1. Replies
    5
    Views
    2,414

    Re: Making Coin Toss for Football game

    it should be (call == toss2) sorry
  2. Replies
    5
    Views
    2,414

    Re: Making Coin Toss for Football game

    I would try something like this:




    public static String CoinToss(String toss)
    {
    double call;
    double toss2;
    toss2 = Double.parseDouble(toss);
  3. Replies
    5
    Views
    2,414

    Re: Making Coin Toss for Football game

    This is a shot in the dark, but I would have used the toss = Math.random(). Then if between 0 and .5 would be equal to heads or tails. Then .6 to 1.0 will be
    equal to the other.

    I would then...
Results 1 to 3 of 3