0
when you’re testing with that; 1) leap year before 2/28, 2) leap year after 2/28, 3) non leap year
Int m, d, y, total; //prompt for month,day,year. //figure out if year is a leap year. If( m==1 ) Total = day; Else if (m==2) Total =31+day; Else if (m==3) Total =59 +day
1 Respuesta
- 1
What you have done???
Are you trying to test which is leep year?