Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

7. EXTRA CREDIT: February 10 was the 50th anniversary of the ratification of the

ID: 3599562 • Letter: 7

Question

7. EXTRA CREDIT: February 10 was the 50th anniversary of the ratification of the 25th Amendment to the United States Constitution. The following text is Section 4 of that amendment. Rewrite this text as an algorithm in pseudocode expressed in terms of IF-THEN-ELSE statements. You may use as-is (without rewriting as pseudocode) the sections of the text that describe conditions, actions, and actors. For example, you may use as-is this phrase describing a set of actors: "the Vice President and a majority of either the principal officers of the executive departments or of such other body as Congress may by law provide" Hint: rewrite all conditional words such as "if", "whenever", "when", "unless", and "otherwise" into "IF" code. The amendment text mostly omits the word "then", it being understood, so you need to figure out where it would be and then make it ex- plicit "THEN" code. The "ELSE” clauses are also mostly implicit in the amendment text. Amendment XXV Section 4. Whenever the Vice President and a ma- jority of either the principal officers of the executive departments or of such other body as Congress may by law provide, transmit to the President pro tempore of the Senate and the Speaker of the House of Representatives their written declaration that the President is unable to discharge the pow ers and duties of his office, the Vice President shall immediately assume the powers and duties of the office as Acting President. Thereafter, when the President transmits to the President pro tempore of the Senate and the Speaker of the House of Representatives his written declaration that no inability exists, he shall resume the powers and duties of his office unless the Vice President and a majority of either the principal officers of the executive department or of such other body as Congress may

Explanation / Answer

Here's the algorithm/pseudo code for the questions above, do comment if you have any doubt. Thumbs up if this help!

if (vice president provides written declaration of the president's incapability && majority of principal officers provide written declaration of president's incapability)

then (vice president assumes the powers of the president)

if (president provides written declaration that no such inability exists && vice president and other officers do no provide written declaration within 4 days)

then (president resumes power)

else

congress has to decide on the issue in 48 hours

if (congress not in session within 21 days in which it had to assembles)

then ( 2/3 votes of both houses will let vice president continue as acting president)

else

president resumes power

else

president continues his tenure

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote