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 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
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, 17.04.2020 00:07
Questions on the website: 13722361