Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There are eligibility requirements for a person to serve as President, Senator and Representative in the US Federal Government. For example, to be a US

There are eligibility requirements for a person to serve as President, Senator and Representative in the US Federal Government. For example, to be a US senator they must be at least 30 years old and have been a US citizen for at least 9 years. To be a US representative these numbers are 25 and 7, respectively. Write pseudocode and a program that requests necessary eligibility information as input and outputs their eligibility for the Presidency, the Senate and the House. Validate that the input is within acceptable norms. E.g. Age must be less than x years old where x is a justifiable number.

Note: There are other requirements in order to be eligible to serve as President, Senator or Representative. Ensure that research is conducted to determine what all the requirements for eligibility are.

For the program:

  1. Create pseudocode called eligibilityPseudoCode.txt.
  2. Code the program as eligibility.py.
  3. Upload your pseudocode (eligibilityPseudoCode.txt) and your program (eligibility.py) to D2L.

Can anybody help me with this in terms of psuedocode and python programming?

Note: The version of Python that I use is Python 3.7

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Administration The Essential Reference

Authors: Brian Laskey, David Kreines

1st Edition

1565925165, 978-1565925168

More Books

Students also viewed these Databases questions

Question

Discuss the goals of financial management.

Answered: 1 week ago