Given below are a legal principle and a factual situation. Apply the given legal principle to the factual situation and select the most appropriate answer to the question given below:
Legal Principle: Wherever the causing of a certain effect, or an attempt to cause that effect, by an act or by an omission, is an offence, it is to be understood that the causing of that effect partly by an act and partly by an mission is the same offence.
Factual Situation: A intentionally omitted to give food to his father. He also used to beat his father. Consequently, A's father died.