Problem: What is the probability of seeing $7$ heads in the toss of $12$ coins?
My answer: If $C(n,k)$ is the number of combinations of $k$ things taken $n$ at a time, then, since order does not matter, the number of successful outcomes is
$$ C(12,7) $$
while the number of total outcomes is $2^{12}$. Hence the probability is the quotient
$$ \frac{C(12,7)}{2^{12}}. $$
Book answer: $\displaystyle \frac{C(12,5)}{2^{12}}.$
Question: Typo?
Book: "Methods of Mathematics" by Hamming
It's not a typo. Your answer and the book answer evaluate to the same number, $\frac{99}{512} = 0.193359375$. This follows from the identity ${n \choose k} = {n \choose {n-k}}$.
This can be easily seen by rephrasing the question as “What is the probability of seeing 5 tails in the toss of 12 coins?”