Age Calculator- c program to calculate age

By using this c program, you can calculate the Age of any persons by entering the correct date of birth of that person. On the basis of entered date of birth (DOB), below program will calculate the current Age of that person.

Age Calculator- C program to calculate age

We assume you have a basic knowledge of c programming language and if…else statement before executing the below program.

Copy the below c program and execute it with the help of c compiler and calculate the Age of anyone.

Program Output:

Enter your date of birth (DD/MM/YYYY): 03/07/1986
Current Date: 29/4/2018
# Hello, you are 31 years 9 months and 28 days old.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts: