From 44aadee2c90768671c7beac248e510c41fab3d9b Mon Sep 17 00:00:00 2001 From: Christopher Fremond Date: Thu, 25 Apr 2019 20:09:22 +0100 Subject: [PATCH] reformatting and correction of title --- subjects/{expandstr.md => expandstr.en.md} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename subjects/{expandstr.md => expandstr.en.md} (75%) diff --git a/subjects/expandstr.md b/subjects/expandstr.en.md similarity index 75% rename from subjects/expandstr.md rename to subjects/expandstr.en.md index aec0964b6..62be75bff 100644 --- a/subjects/expandstr.md +++ b/subjects/expandstr.en.md @@ -3,16 +3,16 @@ ### Instructions Write a program that takes a string and displays it with exactly three spaces -between each word, with no spaces or tabs either at the beginning or the end, -followed by a newline. +between each word, with no spaces or tabs at either the beginning nor the end. -A word is a section of string delimited either by spaces/tabs, or by the -start/end of the string. +The string will be followed by a newline. -If the number of parameters is not 1, or if there are no words, simply display +A word is a sequence of alphanumerical characters. + +If the number of parameters is not 1, or if there are no words, the program displays a newline. -Example of output : +Examples of outputs : ```console student@ubuntu:~/student/expandstr$ go build