Question: Two integers are read from input and assigned to birth _ month and birth _ year, respectively. Write one print ( ) statement to output

Two integers are read from input and assigned to birth_month and birth_year, respectively. Write one print() statement to output 'Month: ', followed by the variable birth_month. Write another print() statement to output 'Year: ', followed by the variable birth_year.
Click here for example 1
Ex: If the input is:
10
1984
then the output is:
Month: 10
Year: 1984
Click here for example 2
Ex: If the input is:
1
1985
then the output is:
Month: 1
Year: 1985

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Finance Questions!