// CS304P Lab 15 Part 1 Problem KST Learning #include #include using namespace std; main() { int a, b; cout << "Enter First Number : "; cin >> a; cout << "\n\nEnter Second Number : "; cin >> b; try{ if(b == 0) { throw "\n\nDenominator is Zero"; } else { cout << "\n\nDivision is : " << a / b; } } catch(const char *ptr) { cout << ptr; } getch(); return 0; }