#include using namespace std; int main() { int x; int y; cout << "Hey user, type x and y (integers): "; cin >> x >> y; try { if (y == 0) throw y; cout << "The quotient of dividing x by y is: " << x / y << '\n'; cout << "try block ending\n"; } catch (int e) { cout << "Tried to divide by " << e << ". didn't work\n"; } catch (double e) { cout << "Catch block double\n"; } cout << "Now the task is complete" << '\n'; }