CJCoding With Joseph

Print a Backslash Path

Print a Windows file path that contains backslashes, using the \\ escape sequence. The exact output is:

C:\Users\Public

Each single backslash in the output requires two backslashes in your string.

Expected Output:

C:\Users\Public
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.