- Previous Post: How To Make Diary Using Notepad Tricks
Basically we use notepad to make note or writing. But using some code on it we can create some useful little software or element. Earlier I had shown a few Funny Notepad Tricks. Today I am gonna show you How To Make Calculator Using Notepad trick.
Making Calculator Using Notepad Trick:
- Open Notepad ( Press Windows Key+R>>type Notepad and Enter ).
- Copy and Paste the following text in the notepad.
- Now save the file as Calculator.bat
- Then double click on the file to open it and Type 2*2 to see the result.
@echo off
title Batch Calculator by (www.livetechnologybd.blogspot.com)
color 0c
:top
echo --------------------------------------
echo -Welcome to Batch Calculator by *(Live Technology)!-
echo --------------------------------------
echo Enter your operand
echo.
set /p sum=
set /a ans=%sum%
echo.
echo = %ans%
echo --------------------------------------------------------------
pause
cls
echo Previous Answer: %ans%
goto top
pause
exit
|
Stay with www.iTTimesbd.com for more IT related post
No comments:
Post a Comment