mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-12-11 00:21:24 +01:00
feat(challenges): add acronyms
This commit is contained in:
@@ -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.
|
||||
@@ -0,0 +1 @@
|
||||
Programming Challenges is really cool
|
||||
@@ -0,0 +1 @@
|
||||
PCIRC
|
||||
@@ -0,0 +1 @@
|
||||
a whole sentence in lowercase
|
||||
@@ -0,0 +1 @@
|
||||
AWSIL
|
||||
@@ -0,0 +1 @@
|
||||
YOU CAN ALSO WRITE EVERYTHING IN CAPITALS
|
||||
@@ -0,0 +1 @@
|
||||
YCAWEIC
|
||||
@@ -0,0 +1 @@
|
||||
We CaN aLSO miX the tWo
|
||||
@@ -0,0 +1 @@
|
||||
WCAMTT
|
||||
@@ -0,0 +1 @@
|
||||
Hurry I have an appointment
|
||||
@@ -0,0 +1 @@
|
||||
HIHAA
|
||||
@@ -0,0 +1 @@
|
||||
The "quotes" will crash your code
|
||||
@@ -0,0 +1 @@
|
||||
TQWCYC
|
||||
Reference in New Issue
Block a user