Question: Feedback? CHALLENGE ACTIVITY 1.2.3. Read multiple user inputs Write two cin statements to get input values into birthMonth and birthYear. Then write a statement to
Feedback? CHALLENGE ACTIVITY 1.2.3. Read multiple user inputs Write two cin statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a dash and the year End with newline The program will be tested with inputs 1 2000 and then with inputs 5 1950. Ex: If the input is 12000, the output is 1-2000 Note: The input values come from user input, so be sure to use in statements, as in cin >> birthMonth to get those input values (and dont assign values directly, as in birthMonth - 1) a 1 include diostream) 2 sin stil 4 int main() int birth month int birthYears 7 8 to your solution goes here a 10 return
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
