Who becomes president if the president dies or resigns?

the vice president.