CJCoding With Joseph

Trim the Input

Read a line that may have extra spaces at the start and end, and print it with that surrounding whitespace removed using Trim(). For the input   hello  , print:

hello

Expected Output:

hello
Topics:
User Input
๐Ÿ“ฅ Auto-Input:
hello
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.