Question

C Programming, using the functions rand_int and rand_float. (Not C++)

Write a program to simulate tossing a "fair" coin. Allow the user to enter the number of tosses. Print the number of tosses that yield heads and the number of tossesthat yield tails. What should be the percentage distribution of heads and tails?

Solutions

Expert Solution
No answers


Submit Your Answer