- #1

battery88

- 18

- 0

## Homework Statement

Three people write programs. The following table shows the percentage of codes written by each person (A, B, C) and the percentage of buggy codes for each person.

****************Coder****************

*************A*B*C*******************

Percent of code 30 25 45

Percent of bugs 2 3 5

The table may be a bit hard to read so here is the break down:

Person A wrote 30% of the code and had 2% bugs

Person B wrote 25% of the code and had 3% bugs

Person C wrote 45% of the code and had 5% bugs

Given that a bug was found, find the probability that it was in code written by person C.

## Homework Equations

## The Attempt at a Solution

After much thought on this problem I'm still no closer to solving it. Honestly, we haven't done any problems set up in this way and I'm not really sure how to go about this problem. Any pointers would be much appreciated.

Last edited: