Create A Virtual Calculator.

 Create A Virtual Calculator



This hand-coded calculator is more a cool proof-of-concept than something I would honestly recommend for your number-crunching needs. Your PC or phone most likely comes with a more intuitive virtual calculator, as does the browser you're probably reading this on. (Via Instructables)


👉Paste the following into a Notepad doc:


@echo off

title Batch Calculator by seJma

color 1f

:top

echo --------------------------------------------------------------

echo Welcome to Batch Calculator

echo --------------------------------------------------------------

echo.

set /p sum=

set /a ans=%sum%

echo.

echo = %ans%

echo --------------------------------------------------------------

pause

cls

echo Previous Answer: %ans%

goto top

pause

exit


👉 Save as a .bat file.

👉Math away. Note: it can only handle integers. And only those of a certain number of digits. It also doesn't handle complex equations all that well. But other than all that, it's just fine.

✌Don’t forget to share this post with your friends and leave a comment below. join our telegram channel,facebook page,twitter page and whatsapp group.Thank you.

Follow us.👇
Telegram Facebook Twitter Whatsapp group

Comments

Popular posts from this blog

Device manager open කිරීමට run command භාවිතා කරමු. Open Device Manager useing run command.

How to open cd rom useing notepad application.

Turn on gaming mode in your computer.