Monday, June 29, 2009

NESTED FOR


syntax:

for( int i=1; i<=5; i++) {
for( int j=i; j<=5; j++) {
System.out.print("*"); }
System.out.println();

make netbeans
like picture hereunder...
its result:

Related Posts by Categories



Widget by Simran

0 comments on "NESTED FOR"

Add your comment. Please don't spam!
Subscribe in a Reader
:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Post a Comment

 

Hadena | Copyright © 2009 | Original Design By Deluxe Themes | Converted To Blogger By Technolizard