Create a program to simulate a coin-tossing game. Use the standard random number generator function rand(), to produce integer values ​​1 and 0 with the formula: rand ()% 2
Suppose that “header” is represented by 1 and “tile” is 0. Run your program for 100, 1000, and 10000 throws and note the longest faces and the longest alternating faces and backs, which is 101010...
Arrange your program in the form of the required functions and provide a prototype of the required functions in a header file. help