i tryed to use this if statement and there is an error. This is what it says:
error C2181: illegal else without matching if
and this is the 'else' that it points to.
printf("The difference in years is %i\n",yearDif);
what am I doing wrong?