Programmer-defined functions, function reuse

This assignment tests your ability to reuse your own functions.

Reuse the coin flipping function you wrote for the coin flip assignment in this assignment.

Using that function, write a program that flips a coin many times, counting heads and tails. Try something like 1,000 flips ten times to convince yourself that the coin is fair. When your program is working, print a screen shot showing it running and a listing of all your code.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.