I believe you should give your resignation to your immediate manager on a paper rather than going to company president ...