Question: Write in C++ please 1. Write a function that randomly returns 0 or 1 . In the main, assign 0 for heads and 1 for
Write in C++ please 1. Write a function that randomly returns 0 or 1 . In the main, assign 0 for "heads" and 1 for "tails". 2. In the main, ask the user to "flip a coin (y or n)?" as many times as they would like. 3. Kee 1 answer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
