Question: why yep instead of yes?
Answer: Yes is not a formal word; you can use it in both formal and informal contexts. ... Yep is used when it's the only word in the answer; yeah is used in the other cases.