mirror of https://github.com/01-edu/public.git
Update README.md
This commit is contained in:
parent
4fc920469f
commit
8f788a3830
|
@ -4,9 +4,9 @@
|
|||
|
||||
Write a program that takes two words in the first argument and swaps them.
|
||||
- If the number of arguments is not 2, nothing should be printed.
|
||||
- If the first argument is not an alphanumeric characters, the program should print `"Error\n"`.
|
||||
- Skip the spaces in the first of the two words.
|
||||
- Print the result with a new line at the end (`'\n'`).
|
||||
- the first argument should containe only alphabitic characters and spaces, if not, print `"Error\n"`
|
||||
- Skip the spaces only in the first word of the first argument.
|
||||
- - Print the result with a new line at the end (`'\n'`).
|
||||
|
||||
### Usage
|
||||
|
||||
|
|
Loading…
Reference in New Issue