U.S. President Donald Trump said on Thursday that Pyongyang is a problem that "will be taken care of,".