Write a program to prompt the user for their age. Based on their age print out which generation they are, when they think youth ends, when old age begins and what age is considered the prime of life. - What is your age: 45 You are Generation X. Youth ends at 31, old age begins at 65. The prime of life is age 47

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

write program?

9:39:38
20.59K/s O l
63%
• REC
Week3.pptx - PowerPoint
DRAWING TOOLS
ANIMATIONS
SLIDE SHOW
REVIEW
VIEW
STORYBOARDING
FORMAT
IIA - O\\DO0
[割。AL7少女G
: { } ☆
Shape Fill -
義Find
A A
Replac
A Select
Shape Outline
Arrange Quick
Styles
- Aa - A-
O Shape Effects-
Paragraph
Drawing
Editino
Arial (Ba - 20
A A
TASK
в I U
• Write a program to prompt the user for their age. Based on their age print out which
deneration they are, when they think youth ends, when old age begins and what age is
considered the prime of life
• What is your age: 45
. You are Generation X.
• Youth ends at 31, old age begins at 65.
• The prime of life is age 47
A NOTES
COMMENTS
Rifhat Bibi's screen
Transcribed Image Text:9:39:38 20.59K/s O l 63% • REC Week3.pptx - PowerPoint DRAWING TOOLS ANIMATIONS SLIDE SHOW REVIEW VIEW STORYBOARDING FORMAT IIA - O\\DO0 [割。AL7少女G : { } ☆ Shape Fill - 義Find A A Replac A Select Shape Outline Arrange Quick Styles - Aa - A- O Shape Effects- Paragraph Drawing Editino Arial (Ba - 20 A A TASK в I U • Write a program to prompt the user for their age. Based on their age print out which deneration they are, when they think youth ends, when old age begins and what age is considered the prime of life • What is your age: 45 . You are Generation X. • Youth ends at 31, old age begins at 65. • The prime of life is age 47 A NOTES COMMENTS Rifhat Bibi's screen
9:40:26
40.89K/s O l
63%
• REC
TASK CONTINUE....
Generation
Youth ends at
old age begins at
prime of life age is
millennials
Botwoon 21 and 36
40
59
36
Between 37 and 52
31
65
47
boomers
Botwoen 52 and 72
31
73
50
Silent
73 and older
35
73
52
Rifhat Bibi's screen
Transcribed Image Text:9:40:26 40.89K/s O l 63% • REC TASK CONTINUE.... Generation Youth ends at old age begins at prime of life age is millennials Botwoon 21 and 36 40 59 36 Between 37 and 52 31 65 47 boomers Botwoen 52 and 72 31 73 50 Silent 73 and older 35 73 52 Rifhat Bibi's screen
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
C-string
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education