In this post I am gonna show you another fun of notepad. Here I will show you how to make calculator using notepad.
Copy and paste the following text in notepad.
Now save the file as Calculator.bat. Now double click on the file to open it. Type 2*2 and have fun!@echo offtitle Batch Calculator by (www.munnamark.blogspot.com)color 0c:topecho --------------------------------------echo -Welcome to Batch Calculator by *(Marks PC Solution)!-echo --------------------------------------echo Enter your operandecho.set /p sum=set /a ans=%sum%echo.echo = %ans%echo --------------------------------------------------------------pauseclsecho Previous Answer: %ans%goto toppauseexit
No comments:
Post a Comment