Finding the probability of getting heads and tail after
Java
probability-head-tail
After n trials, it was found that the probability of getting heads and tails would be approximately 50/50 where this program shows coin being flipped n number of times where it shows number of heads and tails which was found.