Can anyone give suggestions for my "Birth Year Calculator" ?
I've made this code but it does not give accurate year always!
For eg. The year sometimes come 1 year ahead or before.
Can anyone tell me why?
Please suggest edits....🖊️
Hey Yusuf Ansari, I'm not good at explaining but like Alexander Thiem and Oma Falk had said already that we need two inputs.
One for the age and the other to check if the user had already finished his/her birthday this year.
Here is a code, hope this helps you.