• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HOW TO MAKE A CALCULATOR USING BATCH FILE
#1
HOW TO 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.
  Reply


Messages In This Thread
HOW TO MAKE A CALCULATOR USING BATCH FILE - by Clones - 11-11-2011, 04:13 PM

Forum Jump: