[UVA][Math] 474 - Heads / Tails Probability
Heads / Tails Probability
The probability of n heads in a row tossing a fair coin is 2-n. Calculate
the probability for any positive integer n (
).
Input
A list of valid values of n (one per line).
Output
Print a table ...