18 lines
525 B
Text
18 lines
525 B
Text
Use these sentences:
|
|
"hi there, how are you today? I'd like to present to you the washing machine 9001. You have been nominated to win one of these! Just make sure you don't break it”
|
|
|
|
;Task
|
|
: Search for the last used punctuation in a sentence, and determine its type according to its punctuation.
|
|
|
|
; Output one of these letters: "E" (Exclamation!), "Q" (Question?), "S" (Serious.), "N" (Neutral).
|
|
|
|
;Extra
|
|
: Make your code able to determine multiple sentences.
|
|
|
|
|
|
Don't leave any errors!
|
|
|
|
|
|
{{Template:Strings}}
|
|
<br><br>
|
|
|