For this task, you are to write code that checks whether the user's mother's name is common or not. Instructions Your ta

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

For this task, you are to write code that checks whether the user's mother's name is common or not. Instructions Your ta

Post by answerhappygod »

For this task, you are to write code that checks whether the
user's mother's name is common or not.
Instructions
Your task is to write a program which asks the user what their
mother's name is. The program should then inform the user whether
the name is in the top 5 most popular female birth names for
1921--2020.
The 5 most popular names are:
A set of strings describing these names has already been defined
for you as a constant and must be used in your solution.
To be more user-friendly, you must also ignore the
capitalisation of the input name when checking it (i.e. "mary",
"MARY", and "Mary" are all considered common).
Requirements
To achieve full marks for this task, you must follow the
instructions above when writing your solution. Additionally, your
solution must adhere to the following requirements:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply