diff --git a/main.cpp b/main.cpp index 4afb061..a258be3 100644 --- a/main.cpp +++ b/main.cpp @@ -2,9 +2,13 @@ int main() { - int x{ 0 }; - std::cout << "Number Repeater:\nEnter the Number: "; - std::cin >> x; - std::cout << std::endl << "You Entered: " << x << "!\n"; + int i1{ }; + int i2{ }; + std::cout << "Enter a Integer: "; + std::cin >> i1; + std::cout << "Enter another Integer: "; + std::cin >> i2; + std::cout << i1 << " + " << i2 << " is " << i1 + i2 << "\n"; + std::cout << i1 << " - " << i2 << " is " << i1 - i2 << "\n"; return 0; }