US President Donald Trump said Iran has a “last chance” to reach a nuclear agreement.