Use string concatenation (+) and newline escapes (\n). Output must match exactly.
Go to https://www.hackerrank.com/. If you do not have an account, create a free account using your school email address.
PX_plusNewline_lastname
+ operator to concatenate long strings (continue lines neatly).\n to create line breaks in the output.+ and explicit \n makes your code easier to read and grade.
PX_plusNewline_lastname.png — screenshot inside EclipsePX_plusNewline_lastname.java — Java source filePX_plusNewline_lastname.txt — plain-text copy of your codePX_plusNewline_lastname.mp4 — short demo video of the program running