President Trump said the conflict with Iran will conclude soon, either through continued military action or an agreement that prevents Tehran from obtaining a nuclear weapon.