[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
  1. 'x:公鸡,y:母鸡,小鸡:z
  2. dim x,y,z
  3. n=0
  4. for x=0 to 24
  5.     for y=0 to 33
  6.         for z=0 to 100
  7.             if x+y+z=100 and 5*x+3*y+0.5*z=100 then
  8.               n=n+1
  9.               msgbox("第"&n&"组答案:"&"  "&x&"  "&y&"  "&z)
  10.             end if
  11.          next
  12.      next
  13. next
复制代码

TOP

返回列表