This question was asked in Rules for Debit Credit
Rule for debit and credit 
Chirag Chirag's image