U.S. President Donald Trump has stated that he is open to making a deal with Iran to improve bilateral relations but warned that Tehran must not develop a nuclear weapon.