Using only if statements returns the number of days in


Question: Days in Month. Using only "If" statements.  Returns the number of days in a month.  Each month will be shown by a corresponding integer. This is not the most correct calculation, but Leap Year will be calculated using (Year/4) to determine if the input year is a leap year. 

Note: Year/4 must have no remainder to be a leap year.

Please keep it simple and short and no copy and paste or at least help me get started?

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Using only if statements returns the number of days in
Reference No:- TGS0947091

Expected delivery within 24 Hours