Browse Source

reformatting and correction of title

pull/77/head
Christopher Fremond 5 years ago committed by Frenchris
parent
commit
44aadee2c9
  1. 12
      subjects/expandstr.en.md

12
subjects/expandstr.md → subjects/expandstr.en.md

@ -3,16 +3,16 @@
### Instructions ### Instructions
Write a program that takes a string and displays it with exactly three spaces 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, between each word, with no spaces or tabs at either the beginning nor the end.
followed by a newline.
A word is a section of string delimited either by spaces/tabs, or by the The string will be followed by a newline.
start/end of the string.
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. a newline.
Example of output : Examples of outputs :
```console ```console
student@ubuntu:~/student/expandstr$ go build student@ubuntu:~/student/expandstr$ go build
Loading…
Cancel
Save