The program takes input of present date and birthdate from the user in dd mm yyyy format. It then calculates and prints the age of the user in years and months by subtracting the birth year and birth month from the present year and month respectively. The program is written by Anish Sharma with enrollment number 202203103510042 for the B.Tech CSE program.
The program takes input of present date and birthdate from the user in dd mm yyyy format. It then calculates and prints the age of the user in years and months by subtracting the birth year and birth month from the present year and month respectively. The program is written by Anish Sharma with enrollment number 202203103510042 for the B.Tech CSE program.
The program takes input of present date and birthdate from the user in dd mm yyyy format. It then calculates and prints the age of the user in years and months by subtracting the birth year and birth month from the present year and month respectively. The program is written by Anish Sharma with enrollment number 202203103510042 for the B.Tech CSE program.