subject

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 1 2000, the output is: 1-2000 note: the input values come from user input, so be sure to use cin statements, as in cin > > birthmonth, to get those input values (and don't assign values directly, as in birthmonth = 1). 1 2 3 4 5 6 7 8 9 10 11 #include using namespace std; int main() { int birthmonth; int birthyear; /* your solution goes here */ return 0; }

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
What is the foundation for proper monitoring, load balancing and routing in distributed systems
Answers: 3
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Choose the answers that best complete each sentence. on average,are more expensive than other kinds of postsecondary schools. the cost of room and board includes. to save money, some students attend auniversity in their home state.
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
You know the right answer?
Write two cin statements to get input values into birthmonth and birthyear. then write a statement t...
Questions
question
Mathematics, 25.02.2021 01:00
question
Mathematics, 25.02.2021 01:00
question
Mathematics, 25.02.2021 01:00
question
Mathematics, 25.02.2021 01:00
question
Mathematics, 25.02.2021 01:00
question
Mathematics, 25.02.2021 01:00
question
Biology, 25.02.2021 01:00
Questions on the website: 13722367