+ 1

Ending of line

hello friends I,m beginner of this language what is the code to end the line in c or c++ " /n " is use to end the line. is it work hear also? how to print text given bellow "hello friends" "I am using JavaScript" " It is easy to use"

29th Nov 2016, 5:49 PM
ADITYA AVADHANI M.L
ADITYA AVADHANI M.L - avatar
2 Respostas
+ 3
thank you
29th Nov 2016, 5:55 PM
ADITYA AVADHANI M.L
ADITYA AVADHANI M.L - avatar
+ 1
Yes. In JavaScript, you also use "\n" to end a line. However, if you're using it to modify HTML (see DOM and Events), use "<br />".
29th Nov 2016, 5:53 PM
Samuel Neo
Samuel Neo - avatar