From 4be3f03fac750a3043dec0086fea6430d3d3dcce Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Sat, 4 Apr 2020 23:42:59 -0700 Subject: [PATCH] Added expected output to READMEs for examples. --- examples/basic-user-interaction/README.md | 9 +++++++++ examples/hello-world/README.md | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/examples/basic-user-interaction/README.md b/examples/basic-user-interaction/README.md index 6764552..715f95b 100644 --- a/examples/basic-user-interaction/README.md +++ b/examples/basic-user-interaction/README.md @@ -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. +# 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. + diff --git a/examples/hello-world/README.md b/examples/hello-world/README.md index f003d49..ff1ed2f 100644 --- a/examples/hello-world/README.md +++ b/examples/hello-world/README.md @@ -136,3 +136,9 @@ Putting all that together, we discover a greatly simplified program. #include 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! + -- 2.20.1