Sudoku

sudoku2.png

Puzzle

What could be the dates ?

One guy had a habit of spending the money as per the day of the month, for example he will spend $18 on 18th of the month.Once he spent, $63 in continuous 5 days, What could be the dates ?

Solution :

If we assume that he spend 63 dollars in continues 5 days in a same month.Then we can say if the starting date is x the end date would be (x+4).So we can write that

x+(x+1)+(x+2)+(x+3)+(x+4)=63

or, 5x=53;

x=53/5; Here x is a is fractional number

But a date must be a positive integer type.So that assumption was wrong.

Now another possibility  is that if the guy spend 63 dollars in in between two consecutive months.So its clearly understandable that the preceding month can have maximum 2 (1st and 2nd day )month closing dates and following month can have 3 starting dates (3rd ,4th and 5th day).

So the sum of first two dates must be 57.And possible dates can 28 and 29

So clearly dates must be 28th feb,29th feb,1st march ,2nd march and 3rd march.