Difference between revisions of "For Tutorial 2"

From Progzoo
Jump to: navigation, search
(Drawing Squares)
(Drawing Squares)
Line 33: Line 33:
 
Draw a horizontal row of squares
 
Draw a horizontal row of squares
  
[[Image:for2.1.png|frame|Horizontal Row of Squares]]<prog lang="java"><![CDATA[
+
[[Image:for2-1.png|frame|Horizontal Row of Squares]]<prog lang="java"><![CDATA[
 
static void drawFlag(Graphics g){
 
static void drawFlag(Graphics g){
 
   for (int i=0;i<10;i++){
 
   for (int i=0;i<10;i++){

Revision as of 17:12, 22 September 2008

Drawing Squares

Draw a horizontal row of squares

Horizontal Row of Squares
[Font] [Default] [Show] [Resize] [History] [Profile]