Today's day and date will be given to you. By utilising that you need to find the day of the old date. (Date will be in DD/MM/YYYY format, Consider leap years also).
So here you need to provide output as UnknownDay='Sunday'
Note: It is not like using "datestr" and finding result. You need to calculate the number of inbetween days and then find the answer.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more