+ 15

Challange:Date of birth and Day!

Design a program which accepts your date of birth in dd/mm/yyyy format and check whether the entered date is valid or not.If it's valid, display VALID DATE also compute and display the day number of the year for the date of birth.If it is invalid then display INVALID DATE Example: Input:Enter date of birth in dd/mm/yyyy format 03/04/2017 Output: VALID DATE 93 day of the year Input: 34/24/2010 Output: INVALID Hope you understood happy coding! 🎉🎊🎉🎊

30th Jan 2018, 10:18 AM
Aditya
Aditya - avatar
4 Antworten
30th Jan 2018, 11:18 AM
Bagshot
Bagshot - avatar
+ 4
https://code.sololearn.com/cmbg8XIC4ndR/#java
31st Jan 2018, 3:20 AM
Ishan Rathi
Ishan Rathi - avatar
+ 1
Hopefully my solution fulfill the challange's requirement ^_^ https://code.sololearn.com/W8Z2VMWrxk4f
5th Feb 2018, 11:02 AM
Soo Kin Wah
Soo Kin Wah - avatar