You only capitalize president when it is used as a proper noun, as in:
"Give this note to President Obama."
"Please respond to the question, Mr. President."
You don't capitalize it otherwise:
"Hilary Clinton is running for president."
"The president of the class is Timmy."
"One day even you can be president."
If using the word president in a sentence is it capital. Refering to our countries' presidents.
2 answers
The rules given and the examples are all correct.