Showing posts with label Make calculator using notepad. Show all posts
Showing posts with label Make calculator using notepad. Show all posts

Make Calculator Using Notepad !!


Notepad Calculator


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. 

@echo off
title Batch Calculator by (www.munnamark.blogspot.com)
color 0c
:top
echo --------------------------------------
echo -Welcome to Batch Calculator by *(Marks PC Solution)!-
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
Now save the file as Calculator.bat. Now double click on the file to open it. Type 2*2 and have fun!