Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,297 members, 7,954,186 topics. Date: Friday, 20 September 2024 at 01:50 PM |
Nairaland Forum / Science/Technology / Programming / Trick: How To Make A Simple Calculator Using Notepad. (1887 Views)
Creating A Simple Calculator Using HTML,CSS And Javascript / How To Create A Simple Calculator (using Javascript ) / 10 Coolest Notepad Tricks (2) (3) (4)
Trick: How To Make A Simple Calculator Using Notepad. by Techgoon(m): 5:38pm On Mar 17, 2016 |
Open Notepad.exe and paste the following code @echo off title Simple Calculator by Techgoon color 0A :top echo -------------------------------------- echo -Welcome to Simple Calculator by Techgoon echo -------------------------------------- echo Use the Following Operators for calculation echo * = MULTIPLY echo + = ADD echo - = SUBTRACT echo / = DIVIDE echo Enter your Equation echo. set /p sum= set /a ans=%sum% echo. echo = %ans% echo -------------------------------------------------------------- pause cls echo Previous Answer: %ans% goto top pause exit Now Click on CTRL + S to save and name it Calc.bat Now you can Launch your calculator by double clicking on the Calc.bat You will see your calculator and you can use it to perform simple Calculation http://www.techgoon.com/make-simple-calculator-using-notepad/
|
Re: Trick: How To Make A Simple Calculator Using Notepad. by khristals(m): 5:48pm On Mar 17, 2016 |
quite educative |
Re: Trick: How To Make A Simple Calculator Using Notepad. by sinkhole: 6:43pm On Mar 17, 2016 |
@Techgoon, is there any ebook on shell scripting? I need one |
Re: Trick: How To Make A Simple Calculator Using Notepad. by Techgoon(m): 7:15pm On Mar 17, 2016 |
sinkhole: Nope not yet |
Re: Trick: How To Make A Simple Calculator Using Notepad. by sinkhole: 7:23pm On Mar 17, 2016 |
Techgoon:Maybe you then consider writing one |
(1) (Reply)
What Is Pushing You Back In Web Development? / Php Code For Netnaira Setup Guide / Internet Connection Sharing With A 3rd Party
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8 |