From b8b48458c9883a0b64c99fb7d81e2e532993f409 Mon Sep 17 00:00:00 2001 From: lee Date: Wed, 2 Oct 2019 10:35:31 +0100 Subject: [PATCH] printdigits readme for exam --- subjects/printdigitsprog.en.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 subjects/printdigitsprog.en.md diff --git a/subjects/printdigitsprog.en.md b/subjects/printdigitsprog.en.md new file mode 100644 index 00000000..a0f50a9c --- /dev/null +++ b/subjects/printdigitsprog.en.md @@ -0,0 +1,16 @@ +## printdigitsprog + +### Instructions + +Write a [program](TODO-LINK) that prints the decimal digits in ascending order (from `0` to `9`) on a single line. + +A line is a sequence of characters preceding the [end of line](https://en.wikipedia.org/wiki/Newline) character (`'\n'`). + +### Usage + +```console +student@ubuntu:~/printdigitsprog$ go build +student@ubuntu:~/printdigitsprog$ ./main +0123456789 +student@ubuntu:~/printdigitsprog$ +``` \ No newline at end of file