Consider the following premises. If it is cold, then Charles is cooking. Charles is not cooking. It is cold. Can we infer the following from them? If we can, name the inference rule being used: James is not a soldier.
The premises are contradictory and we can infer anything from them. Therefore, the answer is yes.