#include using namespace std; int function1(int a, int b, int c); void function2(int& a, int& b, int& c); bool function3(int i, int j, int k, bool a, bool b, bool c); char function4(char a, char b, char c); int main() { int x, y, z; bool n, m, q; char a, b, c; cout << "Enter 2 Integers >"; cin >> x >> y; x = function1(x, y, z); cout << "x is: " << x << '\n'; cout << "z is: " << z << '\n'; x = function1(x, y, z); cout << "x is: " << x << '\n'; cout << "z is: " << z << '\n'; n = false; m = true; q = function3(x, y, z, n, m ,q); if (q) cout << "true"; else cout << "false"; cout << "Enter 2 Characters >"; cin >> a >> b; c = function4(a, b, c); cout << "c is: " << c << '\n'; return 0; } int function1(int a, int b, int c) { const int temp = b + c; c = 5 * -a / b + 2 * a; a = b % a + temp; return (a + b); } void function2(int& a, int& b, int& c) { int temp = b + c; c = 5 * -a / b + 2 * a; a = b % a + temp; } bool function3(int i, int j, int k, bool a, bool b, bool c) { bool temp = true; c = !(i > -j) || b && c && (c <= a) && temp; return c; } char function4(char a, char b, char c) { char temp = 'A'; c = a + 5 - a % b / temp; return c; }