0){ $count += 1; if($start_month <= $this_month && $this_month <= $end_month){ $leaves -= $fall_number*2; }else{ $leaves -= $fall_number; } if($this_month == 12){ $this_month = 1; }else{ $this_month++; } } print $count . "\n"; ?>