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.
if(year>1970)
yearDif=year-1970;
printf("Bigger,\n");
else
yearDif=1970-year;
printf("Smaller,\n");
printf("The difference in years is %i\n",yearDif);

what am I doing wrong?