A BLOG WHICH PROVIDE COMPLETE SATISFACTION FOR YOUR PC
Monday, August 8, 2011
Create Your Own Calculator Using Batch Programming
Hello Friends,Here I am sharing the Batch Code to create your own calculator
@echo off
title Your title goes here
color 1f
:top
echo ---------------------------------------
echo Print Welcome Msg Here
echo ---------------------------------------
echo.
set /p udefine=
set /a udefine=%udefine%
echo.
echo = %udefine%
echo ---------------------------------------
pause
cls
echo Previous Answer: %udefine%
goto top
pause
exit
Copy above code in notepad and save with .bat extension.
No comments:
Post a Comment