Escape Sequences in Strings
Assign the following three lines of text into the single variable myStr using escape sequences.
You will need to use escape sequences to insert special characters correctly. You will also need to follow the spacing as it looks above, with no spaces between escape sequences or words.
Here is the text with the escape sequences written out.
FirstLine newline backslash SecondLine backslash carriage-return ThirdLine
Here is what i write:
Can’t find what’s wrong with this, anyone pls help?