26 February, 2012

use a batch file as calculator by this simple notepad trick

techifire.blogspot.com
You can directly copy this code in a text editor.

@echo off
title Calculator
color 1f

:top
echo Welcome to Batch Calculator
echo.
set /p sum=
set /a ans=%sum%
echo.
echo = %ans%
pause
cls
goto top
pause
exit

No comments:

Post a Comment