Write a program that displays the empirical probabilities associated with an experiment in which a specified number of coins is flipped.
The application will display the probability distribution for the number of heads.
The user will enter the number of coins and the number of trials in the experiment.
The application will flip the specified number of coins the specified number of times and keep track of the frequency distribution of the number of heads (which can range from zero up to the number of coins). When the experiment is over, the application will calculate the corresponding probabilities.
The image below illustrates a sample run.
Name your program file "Lab10.cpp" and submit it as an email attachment.