Write a program in C++ to Calculate Your Age in days months and years

94 Просмотры
Издатель
#CPPProgram
#CalculateAge
Write a program in C++ to Calculate Your Age in days months and years
Download the Code from link below:
https://myustaadg.com/write-a-program-in-c-to-calculate-your-age-in-years-months-and-days-using-date-of-birth/

First of All we will fetch current date of system.
Then we define a function "int calcTotalDays(int y,int m,int d)" to calculates today birth days.
Then we calculate the difference between dates using "int calcCurrentValue(char a[],int start,int end)" Function.
Subscribe to my channel to view more stuff.
Категория
Язык программирования C++
Комментариев нет.