Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

29 d but of You are tasked to create a program that stores a person's age in a list called age The program will ask

image text in transcribed
29 d but of You are tasked to create a program that stores a person's age in a list called age The program will ask first the value of a counter. The value of the counter will tell the number of times how many person's age will be stored in the list. From the ages entered, be able to count the young and old person in the list. Age is young if it is less than or equal to 50, otherwise it is old. Display the values stored in the list, the number of young persons and the number of old persons. sample output Enter a counter :3 Enter your age 45 Enter your age #56 Enter your age :67 The marks are : [4.0, 5.0, 67.0) Number of old: 1 Number of young: 2 Marks Distribution: Input Process/logic 1.5 2.5 Output 1 https://www

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 Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions

Question

Describe the typical steps in the selection process.

Answered: 1 week ago

Question

what is the most common cause of preterm birth in twin pregnancies?

Answered: 1 week ago

Question

Which diagnostic test is most commonly used to confirm PROM?

Answered: 1 week ago

Question

What is the hallmark clinical feature of a molar pregnancy?

Answered: 1 week ago