Test Passing Probability solutions

Test Passing Probability was solved using C by 1 contestant.