Please tell if this is correct

#1
There are error in programs which have two parts Part A and Part B.
P(error in A) = 0.13

P(error in B) = 0.38

P(program crash when error in A) = 0.6

P(program crash when error in B) = 0.692

P(prog crash when an error in both A and B) = 0.79

Q1)Your program crashed. Find P(error in both parts)?
Solution:
P(error in both parts | Your program crashed)

Confusion is P(crash). Will I apply total probability theorem and add all the 3 cases given?

= (0.79 * (0.13*0.38)) /(0.6 + 0.692 + 0.79 ) = 0.0187

Q2)
Your program crashed . Find P(error in A) :
P(error in A | Your program crashed)
= (0.79 * (0.13)) /(0.6 + 0.692 + 0.79 ) = 0.04932