Demo Blog

Calculator ျပဳလုပ္ႀကည့္ရေအာင္

by ရာမညတိုင္းသား on Nov.22, 2009, under

ကၽြန္ေတာ္ေအာက္ တြင္ေဖၚျပေပးထားတဲ့ .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

ပီးရင္ေတာ့ သူ့ကို ဖြင့္လိုက္ပါ.။



အဆင္ေျပႀကပါေစ

ေက်းဇူးတင္ပါတယ္ခညာ...
0 comments more...

0 comments

Post a Comment

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!