Write a function calculateAge() that takes your birthday in the format dd, mm, yyyy and return your age. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Write a function calculateAge() that takes your birthday in the format dd, mm, yyyy and return your age.

Sample function input CalculateAge(28,02,1992) and output - 26

4th Jul 2019, 11:40 AM
jyoti
2 Answers
0
Thanks for reply. Same resolved now
23rd Jul 2019, 2:37 AM
jyoti
- 1
Hello! Can you show us your attempt in Code Playground? It makes it easier to see the problem/error you want help with.
4th Jul 2019, 11:56 AM
Rincewind
Rincewind - avatar