If necessary, create a new project named Intermediate25 Project and save it in the Cpp7\Chap11 folder. Also create a new source file named Intermediate25.cpp. Declare a 12-element int array named days. Assign the number of days in each month to the array, using 28 for February. Code the program so that it displays the number of days corresponding to the month number entered by the user. For example, when the user enters the number 7, the program should display the number 31. The program also should display an appropriate message when the user enters an invalid month number. Use a sentinel value to end the program. Save and then run the program. Test the program using the valid numbers 1 through 12. Also test it using an invalid number, such as 20
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.