How to Make a Calculator in Notepad

Published

Introduction: How to Make a Calculator in Notepad

About: Returning to Instructables.com To show off my new batch game in the works Called Asteroid Belt! - Raven

My version of this calculator below.

https://www.instructables.com/files/orig/FBI/JV2F/I697QT9F/FBIJV2FI697QT9F.txt

Step 1: Open Notepad

Open Note pad

Step 2: How to Make the Program

Type this (you dont need spaces)

@echo off

setlocal EnableDelayedExpansion

mode 30,10

:calc

cls

echo Add = +

echo Subtract = -

echo Divide = /

echo Multiply = *

echo Put your question here:

set /p equ=

set /a equ=!equ!

cls

echo Answer:!equ!

pause
goto calc

Step 3: How to Save the Program

Save as calculator.bat

(bat) - means batch file

a batch file is illegal to send over the internet so send as a text file...

or convert to an exe file which will make it an application.

Step 4:

Step 5:

3 People Made This Project!

Recommendations

  • Creative Misuse Contest

    Creative Misuse Contest
  • Oil Contest

    Oil Contest
  • Clocks Contest

    Clocks Contest

Discussions

Very clever coding! I just wish there more detailed steps, it can really help people to replicate your awesomeness!