Write a C++ program that prompts the user to enter a length in feet and inches and outputs the equivalent length in centimeters.
If the user enters a negative number or a non-digit number, throw and handle an appropriate exception and prompt the user to enter another set of numbers.