Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . A person is eligible to be a US Senator who is at least 3 0 years old and has been a US citizen

1. A person is eligible to be a US Senator who is at least 30 years old and has been a US citizen for at least 9 years. A person is eligible to be a US Representative who is at least 25 years old and has been a US citizen for at least 7 years. Write a program requesting user to enter their age and length of citizenship and determine whether they are eligible to run for the House, the Senate, or both. Print out the messages to the user accordingly. code in python dont use def

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

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago