diff --git a/challenges/acronyms/README.md b/challenges/acronyms/README.md new file mode 100644 index 0000000..cb3b43a --- /dev/null +++ b/challenges/acronyms/README.md @@ -0,0 +1,27 @@ +# acronyms + +Created by [@Divlo](https://github.com/Divlo) on 30 June 2021. + +## Instructions + +Convert a given sentence to its acronym. + +## Examples + +### Example 1 + +#### Input + +```txt +Programming Challenges is really cool +``` + +### Output + +```txt +PCIRC +``` + +#### Output + +See the `test` folder for examples of input/output. diff --git a/challenges/acronyms/solutions/.gitkeep b/challenges/acronyms/solutions/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/challenges/acronyms/test/1/input.txt b/challenges/acronyms/test/1/input.txt new file mode 100644 index 0000000..66771ed --- /dev/null +++ b/challenges/acronyms/test/1/input.txt @@ -0,0 +1 @@ +Programming Challenges is really cool \ No newline at end of file diff --git a/challenges/acronyms/test/1/output.txt b/challenges/acronyms/test/1/output.txt new file mode 100644 index 0000000..e28442b --- /dev/null +++ b/challenges/acronyms/test/1/output.txt @@ -0,0 +1 @@ +PCIRC \ No newline at end of file diff --git a/challenges/acronyms/test/2/input.txt b/challenges/acronyms/test/2/input.txt new file mode 100644 index 0000000..e4a4551 --- /dev/null +++ b/challenges/acronyms/test/2/input.txt @@ -0,0 +1 @@ +a whole sentence in lowercase \ No newline at end of file diff --git a/challenges/acronyms/test/2/output.txt b/challenges/acronyms/test/2/output.txt new file mode 100644 index 0000000..7e71aca --- /dev/null +++ b/challenges/acronyms/test/2/output.txt @@ -0,0 +1 @@ +AWSIL \ No newline at end of file diff --git a/challenges/acronyms/test/3/input.txt b/challenges/acronyms/test/3/input.txt new file mode 100644 index 0000000..1242168 --- /dev/null +++ b/challenges/acronyms/test/3/input.txt @@ -0,0 +1 @@ +YOU CAN ALSO WRITE EVERYTHING IN CAPITALS \ No newline at end of file diff --git a/challenges/acronyms/test/3/output.txt b/challenges/acronyms/test/3/output.txt new file mode 100644 index 0000000..977ccd7 --- /dev/null +++ b/challenges/acronyms/test/3/output.txt @@ -0,0 +1 @@ +YCAWEIC \ No newline at end of file diff --git a/challenges/acronyms/test/4/input.txt b/challenges/acronyms/test/4/input.txt new file mode 100644 index 0000000..f6a05ce --- /dev/null +++ b/challenges/acronyms/test/4/input.txt @@ -0,0 +1 @@ +We CaN aLSO miX the tWo \ No newline at end of file diff --git a/challenges/acronyms/test/4/output.txt b/challenges/acronyms/test/4/output.txt new file mode 100644 index 0000000..8f2a317 --- /dev/null +++ b/challenges/acronyms/test/4/output.txt @@ -0,0 +1 @@ +WCAMTT \ No newline at end of file diff --git a/challenges/acronyms/test/5/input.txt b/challenges/acronyms/test/5/input.txt new file mode 100644 index 0000000..9528761 --- /dev/null +++ b/challenges/acronyms/test/5/input.txt @@ -0,0 +1 @@ +Hurry I have an appointment \ No newline at end of file diff --git a/challenges/acronyms/test/5/output.txt b/challenges/acronyms/test/5/output.txt new file mode 100644 index 0000000..540a240 --- /dev/null +++ b/challenges/acronyms/test/5/output.txt @@ -0,0 +1 @@ +HIHAA \ No newline at end of file diff --git a/challenges/acronyms/test/6/input.txt b/challenges/acronyms/test/6/input.txt new file mode 100644 index 0000000..a9fba8a --- /dev/null +++ b/challenges/acronyms/test/6/input.txt @@ -0,0 +1 @@ +The "quotes" will crash your code \ No newline at end of file diff --git a/challenges/acronyms/test/6/output.txt b/challenges/acronyms/test/6/output.txt new file mode 100644 index 0000000..04d4d4a --- /dev/null +++ b/challenges/acronyms/test/6/output.txt @@ -0,0 +1 @@ +TQWCYC \ No newline at end of file