From bdb9c469d56ae8db9ffd129d3414c41701a377f4 Mon Sep 17 00:00:00 2001 From: Michael Woldai Date: Mon, 8 Sep 2025 11:49:12 -0700 Subject: [PATCH] added display for math, closes #62 --- main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.cpp b/main.cpp index 958ba61..2ad47f7 100644 --- a/main.cpp +++ b/main.cpp @@ -12,11 +12,11 @@ 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 << "Addition: " << x << "+" << y << endl; + cout << "Subtraction: " << x <<"-"<< y << endl; + cout << "Multiplication: " << x<< "*" <