Launch your Notepad from
your Windows OS PC.
Copy and paste this code
below into it
@echo off
title Batch Calculator by
(your name)
color 0c
:top
echo
————————————–
echo -Welcome to Batch
Calculator by *(your
name)!-
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 press CTRL + S to save,
in the file name put in
Calc.bat
In the File type, select All
Files then Click on Save.
Now Launch the Calc.bat by
double clicking on it.
Your Calculator is live, you can
make use of it to perform your
basic calculation functions
WHAT'S NEW?
Loading...
0 comments:
Post a Comment