sentences:  The president was army's commander-in-chief, with the power to appoint all high-ranking officers.He also had the right to appoint university professors, judges and senior civil servants.Whenever the presidency was vacant, most of its functions were assumed by the prime minister.