Sunday 18 August 2019

Calculator.bat file

open notepad and type 
@echo off
title batch calculator
color 1f
:top

echo welcome to batch calculator
echo type any arithamatic operation 
echo ------------------------------

echo 
set /p sum=
set /a ans=%sum%
echo.
echo = %asn%
echo ------------------------------
pause
cls
echo previous Answer: %ans%
goto top
pause
exit