From 14cd4dfd01f8303e8f769fc46c60131f34f3eff4 Mon Sep 17 00:00:00 2001 From: newtimmy <50924855+newtimmy@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:43:29 +0200 Subject: [PATCH] Update 01_arithmetic.bat difference product quotient modulo instead of always sum --- 005. Operators/01_arithmetic.bat | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/005. Operators/01_arithmetic.bat b/005. Operators/01_arithmetic.bat index 358fa48..9d2b899 100644 --- a/005. Operators/01_arithmetic.bat +++ b/005. Operators/01_arithmetic.bat @@ -4,11 +4,11 @@ SET /A second = 100 SET /A third = 120 SET /A sum = %first%+%second% echo %sum% -SET /A sum = %first%-%second% -echo %sum% -SET /A sum = %second%*%first% -echo %sum% -SET /A sum = %second%/%first% -echo %sum% -SET /A sum =%third% %% %first% -echo %sum% \ No newline at end of file +SET /A difference = %first%-%second% +echo %difference% +SET /A product = %second%*%first% +echo %product% +SET /A quotient = %second%/%first% +echo %quotient% +SET /A modulo =%third% %% %first% +echo %modulo%