中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-09 09:29
47,811 topics / 349,895 posts / today 0 new / 48,253 members
DOS批处理 & 脚本技术(批处理室) » [Challenge] Output a diamond pattern and display it centered
Printable Version  842 / 3
Floor1 pusofalse Posted 2008-08-01 03:54
银牌会员 Posts 646 Credits 1,604
Use a batch file to output the following pattern, and display it centered in the original CMD window size.
Requirements: no temporary files, and keep the code as efficient and concise as possible.



[ Last edited by pusofalse on 2008-8-1 at 04:15 AM ]
Floor2 bat-zw Posted 2008-08-01 12:53
金牌会员 Posts 1,276 Credits 3,105
Floor3 s11ss Posted 2008-08-01 15:44
银牌会员 Posts 566 Credits 2,098
Floor4 yishanju Posted 2008-08-01 18:57
银牌会员 Posts 1,357 Credits 1,488
The poster above is really creative
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023