Computing.Net > Forums > Programming > for loop

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

for loop

Reply to Message Icon

Name: loganwolverine
Date: May 17, 2009 at 02:07:15 Pacific
OS: Windows 7
CPU/Ram: 2gb
Product: Sony / Vgncr363
Subcategory: C/C++
Comment:

i m trying this question


***************
******* ******
***** *****
**** ****
*** ***
** **
* *



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: May 17, 2009 at 06:06:14 Pacific
Reply:


Ignore the below script; I missed you want C code

@echo off & setlocal
for /L %%j in (15,-1,2) do (
  for /L %%k in (1,1,%%j) do set /P star=*<nul
  echo.
)
:: End_Of_Batch


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: for loop

Batch FOR Loop %ERRORLEVEL% www.computing.net/answers/programming/batch-for-loop-errorlevel/13528.html

Batch file FOR LOOP www.computing.net/answers/programming/batch-file-for-loop/11504.html

using for loops to interate unicode www.computing.net/answers/programming/using-for-loops-to-interate-unicode/12858.html