Given a date and day find a week day of another date in that year in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Given a date and day find a week day of another date in that year in c++

Suppose the given day and date is 1st May 2011 then I need to find the day at 7th June 2011

1st Dec 2019, 9:08 AM
Amit Vishwakarma
Amit Vishwakarma - avatar
1 Answer
0
Does not make sense...7th June 2011 will always be a Tuesday regardless of what the "day and date is 1st May 2011" is given.
1st Dec 2019, 11:26 AM
rodwynnejones
rodwynnejones - avatar