Hello guys, I need help to write a program to simulate an experiment of flipping a coin a number of times (for example 100 times), and show the number of times getting heads and tails respectively. If the random number is >0.5, you can assume it is one side (for example Head), otherwise is the other side (for example Tail). I have attached my block diagram, and unfortunately Im stuck. Please help
↧