summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/C/L3.1b
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/learn/lib/C/L3.1b')
-rw-r--r--usr.bin/learn/lib/C/L3.1b14
1 files changed, 14 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/C/L3.1b b/usr.bin/learn/lib/C/L3.1b
new file mode 100644
index 00000000000..33823309455
--- /dev/null
+++ b/usr.bin/learn/lib/C/L3.1b
@@ -0,0 +1,14 @@
+#print
+What is the value of i after this
+___for statement executes?
+Type "answer N", where N is the value of i.
+
+ for (i = 0; i < 10; i = i + 3)
+ ;
+#copyin
+#user
+#uncopyin
+#match 12
+#log
+#next
+4.1a 10