Question: Write a program to accept the following information from the user. Your program is to display a proper greeting message based on the information

Write a program to accept the following information from the user. Your program is to display a proper

Write a program to accept the following information from the user. Your program is to display a proper greeting message based on the information entered by the user. Name - The name entered must be full name - for example Ali Baba, Michael Jackson Age - Age range entered must be within 20 to 50 years old Gender-male/female Marital status - married/Single Spouse's name - user only needs to enter the spouse's name when the user is a married woman. Requirements: 1. Please study the samples below for the requirements of the program. Example 1: User entered: Name: Ali Baba Age: 30 Gender: Male Marital status: Single Greeting: Hope you are keeping well, Mr. Ali Example 2: User entered: Name: Michael Jackson Age: 35 Gender: Male Marital status: Married Greeting: Hope you are keeping well, Mr. Michael

Step by Step Solution

3.38 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Python program that accepts user information and displ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!