I have been thinking about this for a while and I still cannot find a way:
Write a program that asks the user to enter a 10-character phone number in the format XXX-XXX-X