Exercise : 2.67. Instructions: Average flips to get 10 heads

  • Continue modifying the Heads Java program in the exercises2 package.
  • With the experiment running N times, modify your program so that, at the end, it prints the average number of coin flips required to achieve 10 heads.