From 2a97700fb2a8f1364e1129e52f05bfecbb01b7d5 Mon Sep 17 00:00:00 2001 From: chrisheesh Date: Wed, 11 Sep 2024 17:18:03 -0700 Subject: [PATCH] closes division operation issue #2 --- main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 47b917d..5658e13 100644 --- a/main.cpp +++ b/main.cpp @@ -18,6 +18,9 @@ int main(){ cout<< (first-second) << endl; cout<< "Multiplication: "<< first << "*" << second << "="; cout<< (first*second) << endl; + + cout<< "Division: "<< first << "/" << second << "="; + cout<< double(first / second) << endl; return 0; -} \ No newline at end of file +}