From ac4bdc0d5892d5bf2a7be47ec59333adc972edcb Mon Sep 17 00:00:00 2001 From: Jenny Bae Date: Wed, 11 Sep 2024 11:43:04 -0700 Subject: [PATCH] added division --- main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 47b917d..fb076f9 100644 --- a/main.cpp +++ b/main.cpp @@ -18,6 +18,8 @@ int main(){ cout<< (first-second) << endl; cout<< "Multiplication: "<< first << "*" << second << "="; cout<< (first*second) << endl; - + cout<< "Division: "<< first << "/" << second << "="; + cout << (first/second) << endl; + return 0; -} \ No newline at end of file +}