prompt user if year or month

while loop