Added expected output to READMEs for examples.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 5 Apr 2020 06:42:59 +0000 (23:42 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 5 Apr 2020 06:42:59 +0000 (23:42 -0700)
examples/basic-user-interaction/README.md
examples/hello-world/README.md

index 6764552..715f95b 100644 (file)
@@ -105,3 +105,12 @@ That's the whole program. The file `hello.pvvs` contains an uncommented version
 of this exact source code and may be executed with a `make run` in this
 directory.
 
 of this exact source code and may be executed with a `make run` in this
 directory.
 
+# Example Output #
+
+    vvhitespace/examples/basic-user-interaction % make run
+    What is your name?
+    Rolf
+    How old age you?
+    42
+    Hello, Rolf! In a trusting world, 42 is older than I am.
+
index f003d49..ff1ed2f 100644 (file)
@@ -136,3 +136,9 @@ Putting all that together, we discover a greatly simplified program.
     #include <stdio.pvvs>
 
 This is already saved in `hello.pvvs` which you can execute with `make run`.
     #include <stdio.pvvs>
 
 This is already saved in `hello.pvvs` which you can execute with `make run`.
+
+# Example Output #
+
+    vvhitespace/examples/basic-user-interaction % make run
+    Hello, world!
+