i want to write a program to sort out details of date,month,year using structure.
if year of 1stand 2nd entity are same then go for checking month.i tried this ,but did not got required output.i think there is a mistake in my program attached .please correct me where have i gone wrong .i am new to programming.