• Welcome to OnlyTech Forums
    An online community for the tech enthusiasts!
    Log in or Register

make your own calculator

ssparikshya

Guru
Member
Joined
2 May 2011
Messages
3,162
Reaction score
596
OPEN NOTEPAD AND TYPE THE FOLLOWING
@ECHO OFF
color 0c
title CALCULATOR by sparikshya
ECHO Calculator Version 2.00
ECHO Created by ssparikshya
pause
ECHO ---------------------------------------- -------
ECHO * = MULTIPLY
ECHO + = ADD
ECHO - = SUBTRACT
ECHO / =DIVIDE
ECHO ---------------------------------------- -------
pause

:loop
echo.
echo ---------------------------------------- -------
SET /p UDefine=
SET /a UDefine=%UDefine%
ECHO =
ECHO %UDefine%
ECHO.
goto loop


THEN SAVE IT AS .bat FILE AND OPEN IT
AND DONE. :tup
 
Top Bottom