At Least Three Heads in Seven Flips
Flip seven fair coins independently. What is the probability of seeing at least three heads?
Input: none. Output: the exact probability as a reduced fraction.
Example: output 99/128.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
