Array ( [0] => [1] => questions [2] => Strings [3] => Date-Format )
Given a String. You have to find the given format is in DD-MM-YYYY or not.
First line contains a string.
Print Yes if the given format is there else No.
10-12-20
No
20-2020-5
No
10-12-2020
Yes
Login to see Discussion
0
Note :
Let us know if you can come up with a better approach, mail us at support@theinquisitive.in Your approach will be reviewed and posted with credits to you.
Login to see Solution