Answer:
Step-by-step explanation:
The word "president" can function as different parts of speech depending on the context of the sentence. However, in the sentence you provided, "president" is a predicate nominative.
A predicate nominative is a noun or pronoun that renames or identifies the subject of a sentence. In this case, "president" is not the subject or the object of the sentence, but it is a noun that is being used to rename or identify the subject.
For example: "The president is Barack Obama." In this sentence, "president" is a predicate nominative because it renames the subject, "Barack Obama."