Can the president declare war

No, according to the United States Constitution, the power to declare war resides with the Congress, not the President. The President, however, serves as the Commander-in-Chief of the Armed Forces and has the authority to order military action in certain circumstances without a formal declaration of war.