A computer store has 10 copies of a word processing program, 12 copies of a spread sheet program, and 8 copies of a drawing program. Three of the word processing, four of the spread sheet and two of the draw programs are infected with a computer virus. If a program is selected at random, the probability it is infected with a virus is. Ok this is how I broke it down:
My answer is 7/30 chances it will have a virus. Is this right? If not, please show me how to set this one up. Thanks so much for taking time to look over this problem.
Code:
PROGRAMS W/VIRUS W/OUT VIRUS
WWP 19 3 7
SSP 12 4 8
DP 8 2 6
TOTAL 30 9 21