Can anyone help me with this question
Mr Yasir works at the Admission office in higher secondary school. He has to calculate the age of the student, who has taken admission, to cross-check their documents. But he is very tired and he will not be able to complete his work without any help. Can you help him?Constrain:1<=roll_num<=1000a[1]<=name<=a[100]Input Formats:The first line indicates the Student name the second line indicates the date of birth The third line indicates the joining date output Formats: In the only line of output print the age of the student at the time of joining this is the code I wrote: https://code.sololearn.com/cxk4Q8VBtXEt I am getting the required output but I want these two test cases in my code Test Case 1 &candidate.bd.D,&candidate.bd.M,&candidate.bd.Y Test Case 2 candidate.ad.D,&candidate.ad.M,&candidate.ad.Y