Another way to say "yeah is an informal way to say yes" is "Yes is a formal way to say yeah."