Advertisement
Guest User

calculator in notepad

a guest
Feb 27th, 2012
719
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO OFF
  2. color 0a
  3. title Kalkulator
  4. ECHO www.saznaj-novo.uz.rs
  5. ECHO -----------------------------------------------------
  6. ECHO * = Mnozenje
  7. ECHO + = Sabiranje
  8. ECHO - = Oduzimanje
  9. ECHO / = Djeljenje
  10. :loop
  11. echo.
  12. echo -----------------------------------------------------
  13. ECHO [Ukucaj izraz potom pritisni Enter za rezultat]
  14. SET /p UDefine=
  15. SET /a UDefine=%UDefine%
  16. ECHO =
  17. ECHO %UDefine%
  18. ECHO.
  19. goto loop
Advertisement
RAW Paste Data Copied
Advertisement