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 incin >> birthMonth, to get those input values and don't assign values directly, as in birthMonth - 1). 1 winclude 2 using namespace std; 3 4 int main() int birthMonth; 6 int birthYear; 7 R 9 return 0; 10

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Does read theory have answers keys ?
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
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, 18.12.2020 17:10
question
English, 18.12.2020 17:10
question
Arts, 18.12.2020 17:10
Questions on the website: 13722363