ေအာက္ တြင္ေဖၚျပေပးထားတဲ့ .bat code ေလးေတြကို Notepad ထဲ ကူးယူပီးေတာ့ .bat နဲ့ Save လိုက္ပါ...
code:>>>
@ECHO OFF
color f4
title CALCULATOR
ECHO Calculator Version 1
ECHO CREATED BY CHIT TEE
ECHO ------------------------------ -----------------
ECHO * = MULTIPLY
ECHO + = ADD
ECHO - = SUBTRACT
ECHO ------------------------------ -----------------
pause
:loop
echo.
echo ------------------------------ -----------------
SET /p UDefine=
SET /a UDefine=%UDefine%
ECHO =
ECHO %UDefine%
ECHO.
goto loop
ၿပီးရင္ေတာ့ သူ႕ကို ဖြင့္ၿပီးေတာ့ တြက္ခ်က္ၾကေတာ့ ဟီးးး
ECHO Calculator Version 1
ECHO CREATED BY CHIT TEE
ECHO ------------------------------
ECHO * = MULTIPLY
ECHO + = ADD
ECHO - = SUBTRACT
ECHO ------------------------------
pause
:loop
echo.
echo ------------------------------
SET /p UDefine=
SET /a UDefine=%UDefine%
ECHO =
ECHO %UDefine%
ECHO.
goto loop
ၿပီးရင္ေတာ့ သူ႕ကို ဖြင့္ၿပီးေတာ့ တြက္ခ်က္ၾကေတာ့ ဟီးးး
No comments:
Post a Comment