Program to find the age of user


Explanation:

Here by will take the birth year, cy will put current year in it. The mathematical logic to find the age is to subtract birth year from current year. After generating age we are able to display it.


Output


Exercise:

Find the age of user that he will be after 4 year.

Comments

Popular posts from this blog

Header Files in C

Programming Concepts