Final answer:
Both President Obama and President Trump were able to act on the Iranian nuclear deal without consulting Congress due to the use of an executive agreement by President Obama and the withdrawal by President Trump.
Step-by-step explanation:
Both President Barack Obama and President Donald Trump were able to act on the Iranian nuclear deal without consulting Congress due to the difference in the form of the agreement they used. President Obama chose to use an executive agreement, which does not require congressional approval, while President Trump chose to withdraw from the agreement without legislative consultation. The use of an executive agreement allowed the presidents to act unilaterally on the agreement, bypassing the need for congressional support.