Browse Source

README-en.md edited online with Bitbucket

Jose R Ortiz Ubarri 8 years ago
parent
commit
85eed4642b
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      README-en.md

+ 12
- 12
README-en.md View File

@@ -4,6 +4,8 @@
4 4
 ![main2.png](images/main2.png)
5 5
 ![main3.png](images/main3.png)
6 6
 
7
+[Verano 2016 - Ive]
8
+
7 9
 One of the advantages of using computer programs is that we can easily implement repetitive tasks. Structures such as the `for`, `while`, and `do-while` allow us to repeat a block of instructions as many times as needed. In this lab experience you will use `for` loops produce patterns and mosaics.
8 10
 
9 11
 ##Objectives:
@@ -28,7 +30,7 @@ Before coming to the laboratory session you should have:
28 30
 
29 31
     c. rotate tessellations.
30 32
 
31
-3. Taken the Pre-Lab quiz available through the course’s Moodle portal.
33
+3. Taken the Pre-Lab quiz available in Moodle.
32 34
 
33 35
 ---
34 36
 
@@ -97,7 +99,6 @@ int foo(DrawingWindow &w) {
97 99
         w.addTessellation(t);
98 100
         rot += 90;
99 101
     }
100
-
101 102
 }
102 103
 
103 104
 int main(int argc, char *argv[]) {
@@ -134,15 +135,14 @@ Observe how the `foo` function needs to receive a reference to the `w` object of
134 135
 int fah(DrawingWindow &w) {
135 136
     int rot = 0;
136 137
     for (int i = 0; i < 4; i++) {
137
-     for (int j = 0; j < 4; j++) {
138
-Tessellation t;
139
-                t.move(i * 50, j * 50);
140
-t.setRotation(rot);
141
-            w.addTessellation(t);
142
-    }
143
-            rot += 90;
138
+      for (int j = 0; j < 4; j++) {
139
+        Tessellation t;
140
+        t.move(i * 50, j * 50);
141
+        t.setRotation(rot);
142
+        w.addTessellation(t);
143
+      }
144
+      rot += 90;
144 145
     }
145
-
146 146
 }
147 147
 ```
148 148
 
@@ -163,10 +163,10 @@ The figure that is obtained is similar to the one in Figure 7.
163 163
 
164 164
 ---
165 165
 
166
-!INCLUDE "../../eip-diagnostic/tesselations/en/diag-tesselations-01.html"
166
+!INCLUDE "../../eip-diagnostic/tesselations/en/diag-tesselations-01.html"
167 167
 <br>
168 168
 
169
-!INCLUDE "../../eip-diagnostic/tesselations/en/diag-tesselations-02.html"
169
+!INCLUDE "../../eip-diagnostic/tesselations/en/diag-tesselations-02.html"
170 170
 <br>
171 171
 
172 172
 ---