0

# When youâre testing with that; 1) leap year before 2/28, 2) leap year after 2/28, 3) non leap year, so finding a codings for it,

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 Answer

+ 4

What is the problem you are struggling with?