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 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
Heres a Python program that accepts user information and displ... View full answer
Get step-by-step solutions from verified subject matter experts
