// Name: Nataliia Brown // Date: 1/13/24 // Class: CST 116 // Assignment: InClass Exercise 4 #include using std::cout; using std::cin; using std::endl; int main() { int i; cout << "please input a number: " << endl; cin >> i; switch (i) { case 100: cout << "You are a great person" << endl; break; case 5: cout << "You picked option : " << i << endl; break; case 21: int j; int k; cout << "please input number 1: "; cin >> j; cout << "please input number 2: "; cin >> k; if (k == 0) { cout << "cannot divide by zero" << endl; break; } int g; g = j % k; cout << "the remainder of " << j << "devided by " << k << " is " << g << endl; break; default: cout << "Bad input, no switches to switch"; break; } return 0; }