From c7284a7dc3e69322608475993d5cc67ca2ab6a34 Mon Sep 17 00:00:00 2001 From: Michael Hedrick Date: Mon, 8 Jun 2020 12:32:11 -0600 Subject: [PATCH 1/3] Create divzero.cpp --- divzero.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 divzero.cpp diff --git a/divzero.cpp b/divzero.cpp new file mode 100644 index 0000000..ba0f364 --- /dev/null +++ b/divzero.cpp @@ -0,0 +1,6 @@ +int main() { + int x = 0; + int y = 20; + int z = y/x; + return 0; +} From 67409df89fd5f7eb4b03051c8d96d9b918350a20 Mon Sep 17 00:00:00 2001 From: Michael Hedrick Date: Mon, 8 Jun 2020 13:38:21 -0600 Subject: [PATCH 2/3] Update divzero.cpp --- divzero.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/divzero.cpp b/divzero.cpp index ba0f364..a010f2b 100644 --- a/divzero.cpp +++ b/divzero.cpp @@ -1,3 +1,5 @@ +//div by zero + int main() { int x = 0; int y = 20; From d14742b34827d67de09f74aa5fb28749c3e4025f Mon Sep 17 00:00:00 2001 From: Michael Hedrick Date: Mon, 8 Jun 2020 15:29:19 -0600 Subject: [PATCH 3/3] Update divzero.cpp --- divzero.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/divzero.cpp b/divzero.cpp index a010f2b..634cf7b 100644 --- a/divzero.cpp +++ b/divzero.cpp @@ -1,4 +1,4 @@ -//div by zero +//div by zerooo int main() { int x = 0;