Question: Don't know how to write 5 also? Write code that outputs variable numYears. End with a newline. 1 #include 2 using namespace std; 3 4

 Don't know how to write 5 also? Write code that outputs

Don't know how to write 5 also?

Write code that outputs variable numYears. End with a newline. 1 #include 2 using namespace std; 3 4 int main() { 5 int numYears; 6 7 // Our tests will run your program with input 2, then run again with input 5. 8 // Your program should work for any input, though. 9 cin >> numYears; 10 11 cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!