43 std::cout <<
"gcd of 120,7 is " << (
gcd(120, 7)) << std::endl;
45 std::cout <<
"gcd of -120,10 is " <<
gcd(-120, 10) << std::endl;
46 }
catch (
const std::domain_error &e) {
47 std::cout <<
"Error handling was successful" << std::endl;
49 std::cout <<
"gcd of 312,221 is " << (
gcd(312, 221)) << std::endl;
50 std::cout <<
"gcd of 289,204 is " << (
gcd(289, 204)) << std::endl;