Thank you for your answer!

It's difficult for me to understand how it actually works, so I wanted to ask about this line:

if (months%12 > 5 && years<14){

Is it correct or are some marks wrong here?
I'm still trying to fix the symbol, but don't know where it could come from. Maybe you could help me find out?