can someone please make me understand this question so that i can start writing a program for it

Write a program to find the date of the monday which comes after the third friday of the nearest month.
Input : yyyy,mm,dd,Day
Output : yyyy,mm,dd,Monday

I really want to write program for the above question but im not getting this question .

And neither am i.
has someone given you this to do? Do you have the question written down?
Last edited on
This was asked in a test and i could'nt answer :(
You can't answer because it makes no sense.
For example if you input november for the month, then what is the nearest month to this?? October? December?? Nearest month to what?? it's complete nonsense.

Are you sure this is the actual question?
suppose the i/p is 29/1/2014
the o/p should be 24/2/2014
Topic archived. No new replies allowed.