LenHacks
Get a Quote
How To Create A simple Calculator
By Elia Wavez
Tue, 11-Sep-2018, 05:41

@echo off Title OnlineCmag-Calculator :start Echo Press 1 for Addition echo Press 2 for Subtraction echo Press 3 for Multiplication echo Press 4 for Division echo Press 5 to Quit set /p type= if %type%==1 goto a if %type%==2 goto b if %type%==3 goto c if %type%==4 goto d if %type%==5 goto e :a echo Addition echo Type The 2 NumbersTo Add set /p num1= set /p num2= echo %num1%+%num2%? pause set /a Answer=%num1%+%num2% echo %Answer% pause goto start :b echo Subtraction echo Type The 2 NumbersTo Substract set /p num1= set /p num2= echo %num1%-%num2%? pause set /a Answer=%num1%-%num2% echo %Answer% pause goto start :c echo Multiplication echo Type The 2 NumbersTo Multiply set /p num1= set /p num2= echo %num1%*%num2%? pause set /a Answer=%num1%*%num2% echo %Answer% pause goto start :d echo Division echo Type The 2 NumbersTo Divide set /p num1= set /p num2= echo %num1%/%num2%? pause set /a Answer=%num1%/%num2% echo %Answer% pause goto start :e echo. Done!Step 3 : Save The Text File :

Share via:

Leave a Message:
Related Updates
How To Disable Mouse
Create A Simple Antivirus With Notepad
Turn Your Android Phone Into A Security Camera Now
Best Phone Hacking Apps(Copy 9)
How To Hack Android Game Money
KEEP UP TO DATE

This site was designed with Websites.co.in - Website Builder

WhatsApp Google Map

Safety and Abuse Reporting

Thanks for being awesome!

We appreciate you contacting us. Our support will get back in touch with you soon!

Have a great day!

Are you sure you want to report abuse against this website?

Please note that your query will be processed only if we find it relevant. Rest all requests will be ignored. If you need help with the website, please login to your dashboard and connect to support

;