I set myself the following additional goal (devised by me):

I decided to write a program to return every non-trivial factor of a number. I then modified it to tell the user if one of the factors was the year of birth or death of baroque composer Johann Sebastian Bach and to restrict the input to numbers with more than four and fewer than eight digits.

My solution was a file called TheBachFactor.cc