From e9b4529d4b88e9476940db867239cc102c1bb4ff Mon Sep 17 00:00:00 2001 From: Sunami Dasgupta Date: Wed, 31 Jan 2024 21:54:07 -0800 Subject: [PATCH] Division 0 error fixes #61 --- main.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index 5f6ade9..e2e83b0 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,6 @@ #include #include - +using namespace std; int main() { cout << "This is Kevin!\n"; @@ -12,8 +12,10 @@ int main() std::cout << "Addition: " << x + y << std::endl; std::cout << "Subtraction: " << x - y << std::endl; std::cout << "Multiplication: " <