Question: Drag and drop two cin statements in the correct order to get input values into birthMonth and birthYear. Then drag and drop statements to output
Drag and drop two cin statements in the correct order to get input values into birthMonth and birthYear. Then drag and drop statements to output the month, a dash, and the year. End with newline. Remember that outputting 'endl' outputs a newline.
Ex: If the input is the output is:
Note: Our autograder automatically runs your program several times, trying different input values each time to ensure your program works for any values. This program is tested twice, first
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
