Is there anyway to find day n string of Nth Days from given days in String ? check it using Java.



Calculate the Nth days from the given number of days in String:

For Example :
If the user enters the day: Monday
and
the nth day: 11
Then the output will be: Thursday


Program Code:



The output of the program: