Notepad is a very powerful text editor system in Windows operation system. Even you can build any programs in notepad system….! you know? Notepad works as like notepad plus plus but its inside area is nicely customised and better than notepad. In this tutorial, I will show you How to Make a Calculator in Notepad with some simple codes which are really so easy for you.
The calculator is a most common toy in our daily life for any countable matter. You just imagine that you use your own calculator by making with notepad programs.
Yes….! You can just by following this post. So, let’s see how can we make a calculator with a notepad by using some codes.
1. Java Source Code For Simple Animation Making With Swing
2. How To Make a Calculator In Java With Source Code
3. Tutorial About Changing Design Colours With Jquery Codes
How to Make a Calculator in Notepad
I am sharing with you two types of notepad codes for making a calculator. One is an old version and second is newly updated version codes. You can use both of them for making a calculator in notepad.
Old Version Codes Is Appear;
@echo offsetlocal EnableDelayedExpansionmode 30,10:calcclsecho Add = +echo Subtract = –echo Divide = /echo Multiply = *echo Put your question here:set /p equ=set /a equ=!equ!clsecho Answer:!equ!pausegoto calc
Updated Version Codes Is Appear;
@echo off@title:Calculatorsetlocal EnableDelayedExpansioncolor 1fmode 30,10:calcclsecho Add = +echo Subtract = –echo Divide = /echo Multiply = *echo Put your question here:set /p equ=set /a equ=!equ!clsecho Answer:!equ!pausegoto calc
How to Make the Program
First, you need to copy the programs from above.
- Then go to start menu from windows and click all programs.
- Accessories >> NotePad.
- Paste the code inside the notepad area and save it in desktop with Calcualtor.bat (bat) – means batch file.
- Now double-click on the icon named Calculator and try to use it nicely.
Hopefully, you will make it without any trouble. If have any question of them or face any problem. Then inform me via the comment section. I will try to solve it promptitude.