Age Calculator- c program to calculate age

Editorial Staff - - C Programming Tutorial

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.

Editorial Staff

Editorial Staff at FreeWebMentor is a team of professional developers leads by Prem Tiwari

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.