Simulate tossing a coin with probability of heads p.

Question:

Simulate tossing a coin with probability of heads p.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: