Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have to get output like below. name: Hershey, Joe Birthday: 09 / 05 / 79 But , my final output is only Joe. whats
I have to get output like below.
name: Hershey, Joe
Birthday: 09 / 05 / 79
But , my final output is only Joe.
whats wrong with my input?
For this program, you will need to prompt the user to input his/her first name, last name, birth month, birth day and birth year. Then you will display this information in two lines with the appropriate labels. Example Input (this is the line of output from the program) Please enter your first name: Joe (this is what the user will enter) Please enter your last name Schmoe Please enter your birth month: 12 Please enter your birth day; Please enter your birth year 90 Example output: Name: Schmoe, Joe Birthday: 12/1/90 Internal documentation includes: a. Name b. Date c. Class d. Program Purpose what does this program do e. Single line documentation of any unique line(s) of programmingStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started