diff --git a/main.cpp b/main.cpp index a495fc9..4ebe01b 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,8 @@ #include #include + + int main() { std::cout << "THE FIRST EXAMPLE MATH DISPLAY!\n"; @@ -9,11 +11,11 @@ int main() int x,y; std::cin >> x >> y; - std::cout << "Addition: " << x + y << std::endl; - std::cout << "Subtraction: " << x - y << std::endl; - std::cout << "Multiplication: " << x * y << std::endl; - std::cout << "Division: " << x / y << std::endl; - std::cout << "Remainder: " << x % y << std::endl; + std::cout << "Addition: " << x << "+" << y << "="<< x+y <