Question: this is in c++. i have the code where is gives the month expressed as an integer and where it will determain tge number of

 this is in c++. i have the code where is gives
the month expressed as an integer and where it will determain tge
this is in c++. i have the code where is gives the month expressed as an integer and where it will determain tge number of hours but i dont know how to account for leap year and thats what i need help with! you dont have to go off my code i already have but if you can that would be great.

5. Given the month expressed as an integer( 1 for Jan, 2 for Feb ...) Write the code to determine the number of hours. ACCOUNT FOR LEAP YEAR. #include using namespace std; int main() int month; cout > month; switch (month) case 1: 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!