Why does the constitution give the president veto power?

Why Does The Constitution Give The President Veto Power class=