Monarchy of Spain

In the political life of Spain, the king would already be familiar with the various political leaders in a professional capacity, and perhaps less formally in a more social capacity, facilitating their meeting following a General Election. Conversely, nominating the party leader whose party maintains a plurality and who are already familiar with their party manifesto facilitates a smoother nomination process. In the event of coalitions, the political leaders would customarily have met beforehand to hammer out a coalition agreements before their meeting with the king. Once appointed, the President of the Government forms an administration whose ministers are appointed and removed by the king on the president's advice. No minister may take up his appointment until after they give their oath of office to obey the constitution with loyalty to the king.

Is this statement correct "does spain have a king and a president"?
yes