IBM interview question

Double entry questions