Skip to content

Commit 001e60f

Browse files
committed
added PenColors and SimpleSquareCodenvy
1 parent b2d3cb4 commit 001e60f

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

19.6 KB
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package org.teachingkidsprogramming.section01forloops;
2+
3+
public class SimpleSquareCodenvy
4+
{
5+
public static void main(String[] args) throws Exception
6+
{
7+
// Show the tortoise --#1
8+
// Make the tortoise move as fast as possible --#6
9+
// Do the following 4 times --#5.1
10+
// Change the pen color of the line the tortoise draws to "blue" --#4
11+
// Move the tortoise 50 pixels --#2
12+
// Turn the tortoise to the right (90 degrees) --#3
13+
// Repeat --#5.2
14+
}
15+
}

0 commit comments

Comments
 (0)