diff --git a/main.cpp b/main.cpp index 958ba61..60d329a 100644 --- a/main.cpp +++ b/main.cpp @@ -12,13 +12,13 @@ int main() int x,y; cin >> x >> y; - cout << "Addition: " << x + y << endl; - cout << "Subtraction: " << x - y << endl; - cout << "Multiplication: " << x * y << endl; - cout << "Division: " << x / y << endl; - cout << "Remainder: " << x % y << endl; - cout << "Square Root: " << sqrt(x) << endl; - cout << "Square: " << pow(x, y) << endl; + cout << "Addition: " << x << "+" << y << "=" << x + y << endl; + cout << "Subtraction: "<< x << "-" << y << "=" << x - y << endl; + cout << "Multiplication: " << x << "*" << y << "=" << x * y << endl; + cout << "Division: " << x << "/" << y << "=" << x / y << endl; + cout << "Remainder: " << x << "%" << y << "=" << x % y << endl; + cout << "Square Root: " << "√" << x << "=" << sqrt(x) << endl; + cout << "Square: " << x << "^" << y << "=" << pow(x, y) << endl; return 0; }