Calculator:
Open Notepad again with a little effort.
titleecho 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 save it with the name calculator.bat.
No comments:
Post a Comment