Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Practice 3.4: Age Classifier 10 pts Not Submitted Due Feb 9, 2020 at 11:59 PM Submission Types Website URL Submission & Rubric Description Lesson

image text in transcribed
image text in transcribed
image text in transcribed
Programming Practice 3.4: Age Classifier 10 pts Not Submitted Due Feb 9, 2020 at 11:59 PM Submission Types Website URL Submission & Rubric Description Lesson Objective(s): Work with Nested Decision Structures (IF/ELSE Statements) Use Logical operators Lesson: 3.4 Nested Decision Structures Age Classifier: Write a program that asks the user to enter a person's age. The program should display a message indicating whether the person is an infant, a child, a teenager, or an adult. Follow these guidelines: If the person is 1 year old or less, he or she is an infant. If the person is older than 1 year but younger than 13 years, he or she is a child. If the person is at least 13 years old, but less than 20 years old, he or she is a teenager. If the person is at least 20 years old, he or she is an adult. Assignment Requirements: Upload your .py file to Git Hub and submit the link to that file. Make sure that you are getting the green checkmark in the top right-hand corner of the screen to indicate that you have no formatting errors. Sample Result: Please enter the individual's age: 15 The individual is a teenager

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

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions