Myanmar IT Resource Forum
Myanmar IT Resource Forum

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Let's do this lil table with batch script on 26th May 2009, 4:37 pm

AcronomeArk


MITR New User



Hey Guys,
Can you display the following table with ONLY SINGLE COMMAND LINE WITHOUT USING AMPERSANDS?


0 0
1 0
1 1
2 0
2 1
2 2
3 0
3 1
3 2
3 3
4 0
4 1
4 2
4 3
4 4

Have fun!!:PThere is answer at the bottom of this message.
Don't peek the answer first!!!!Try yourself.

Ans:
Spoiler:
@FOR %%A IN ("0 0" "1 0" "1 1" "2 0" "2 1" "2 2" "3 0" "3 1" "3 2" "3 3" "4 0" "4 1" "4 2" "4 3" "4 4") DO @ECHO.%%~A
[You must be registered and logged in to see this image.]



Last edited by bluerays on 27th May 2009, 5:21 pm; edited 3 times in total (Reason for editing : အေၿဖကို Spoiler နဲ႔ အုပ္ထားပါတယ္။)

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

Free forum | © PunBB | Free forum support | Contact | Report an abuse | Free forum