loading

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:

<p>i also made 1 but mine is little more advance im an medium DOS programmer, but my only single problem to my calculator was the division i can't divide 2 divided by 10 it will answer 0, i wonder why now i know. Because / (exclamation mark) was listed as Function Script to the DOS so it will read as the built in DOS script not division. And also it's different to *, %, $ &amp;,</p><p>example:</p><p>&lt;parsers&gt;<br> &lt;parsers id=&quot;cpp_class&quot; displayName=&quot;C++ Class&quot; commentExpr=&quot;((/\*.*?\*)/|(//.*?$))&quot;&gt;<br> &lt;parsers id=&quot;c_function&quot; displayName=&quot;C source&quot; commentExpr=&quot;((/\*.*?\*)/|(//.*?$))&quot;&gt;</p>
<p>By: Blant Art TOM Club</p>
<p>i made it</p>
<p>Very clever coding! I just wish there more detailed steps, it can really help people to replicate your awesomeness!</p>

About This Instructable

10,896views

13favorites

License:

Bio: Returning to Instructables.com To show off my new batch game in the works Called Asteroid Belt! - Raven
More by Raven Codes:Making a game with notepad Batch File Timer Custom Alarm Clock with notepad 
Add instructable to: