how to write a program which calculate age of us exactly in days | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to write a program which calculate age of us exactly in days

it asks us today's date and our birthday

9th Sep 2016, 3:31 PM
Sri Surya
Sri Surya - avatar
1 Answer
0
it's pretty simple. just get input birthday from user, you don't even need to get current today's date because you can get from proper function. And then only perform date diff between these dates
16th Sep 2016, 11:27 PM
Artur Dębkowski
Artur Dębkowski - avatar