How do I define my variables
Zakbets

So I try to define my variables like yearborn and currentyear and the call them later when I subtract the two but it will not call them

You are viewing a single comment. View All
CodingElf66

The if statement has the wrong syntax. For Lines 28-30, do:

Zakbets

@CodingElf66 now it is saying monthsold is not defined

CodingElf66

@Zakbets I done it and it has no problem! If you don't mind, you can mark this comment as answered!