![](/images/liferecord/arrow.gif)
![](/images/ico20080527/bat.png)
最后修改: October 30 2020 14:33:15
文件: root - programs - 80x86_batch - 2008 - 5 - math_example.bat
大小: 0.42KB
@echo off
rem An Example Batch Program to Calculate 355/113.
rem OS: 2000, XP
rem Zhihua Lai, May 12, 2008
set /a a=355
set /a b=113
set /a c=100
set /a d=a/b
set o=%a%/%b%=%d%.
:work
set /a a=(a-d*b)*10
if "%a%"=="0" goto clean_up
set /a d=a/b
set /a c=c-1
if "%c%"=="0" goto clean_up
set o=%o%%d%
goto work
:clean_up
echo %o%
set o=
set a=
set b=
set c=
set d=
©2006~2024 牛排过熟 - 0.00696 秒 - 2131.268 KB/s - 31 在线
内存: 456.54 KB
18:54:01 up 13 days, 18:33, 2 users, load average: 0.98, 0.86, 0.73 - 服务器 PHP 版本号: 7.4.33
牛排怎么做才好吃? | <meta name="机器人" content="不索引, 跟踪" />
![](/images/top.jpg)
18:54:01 up 13 days, 18:33, 2 users, load average: 0.98, 0.86, 0.73 - 服务器 PHP 版本号: 7.4.33
读写完全 - 一般 - 最小 - 表格 - 所有评论 - 统计
当前页暂时没有评论。