Question: [4.] Write a C program which uses the random number generator provided to emulate the tossing of a fair coin N times. Print out the
![[4.] Write a C program which uses the random number generator](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f395e22ed65_64966f395e1bcb5d.jpg)
[4.] Write a C program which uses the random number generator provided to emulate the tossing of a fair coin N times. Print out the number of heads and number of tails. Run your code for N = 1000. How many H and T did you get? Discuss (using the notions from class) whether your results are reasonable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
