Added documentation
This commit is contained in:
parent
8e70de5278
commit
4b96df1d81
2 changed files with 15 additions and 0 deletions
7
README.md
Normal file
7
README.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# sys_prog
|
||||||
|
|
||||||
|
System Programming exercises / homeworks.
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
[Rickroll](https://www.youtube.com/watch?v=9KxTcDsy9Gs)
|
8
sortlines/README.md
Normal file
8
sortlines/README.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# sortlines
|
||||||
|
|
||||||
|
Write a program called sortlines that reads one line at a time from the
|
||||||
|
standard input, and outputs the sequence of words in each line sorted in
|
||||||
|
lexicographical order. A word is a (maximal) contiguous sequence of alphabetic
|
||||||
|
characters as defined by the isalpha library function. The output sequence for
|
||||||
|
each line should be printed on a single line with each word separated by one
|
||||||
|
space. An input line is guaranteed to be at most 1000 characters.
|
Reference in a new issue