• Welcome to ForumKorner!
    Join today and become a part of the community.

Make your own calculator.

Junni

Member
Reputation
0
MAKE A CALCULATOR USING BATCH FILE

----------------------------code------------------------------
echo off
cls
echo.
echo This is multiplication calculation
set/p "user=FirstNo=>"
set/p "pass=SecondNo=>"
set /a a=%user%*%pass%
echo so the answers is = %a%
pause >nul
---------------------------end code---------------------------

paste the copied code in your notepad and save as "calculator.bat" or any other name with bat extension
you can change * with +,- and / to perform various operations
 

PhineasPhreak

Member
Reputation
0
Cool find, I am learning quite a bit from being at this forum...
You know what I'd do? I'd create a batch that opens a shortcut to MS Calculator.

;)
 
Top