0
/ 30
This method simulates flipping a fair coin. The coin is flipped repeatedly until three consecutive heads are seen. The method takes an...
This method simulates flipping a fair coin. The coin is flipped repeatedly until three consecutive heads are seen. The method takes an integer parameter, which specifies the seed for the random number generator. Further, the method records the result of each flip and returns the results as a String. A call to this method may return “TTTHTHHH”.
Your feedback will appear here when you check your answer.