0
How do I add next line in my code?
Line breaking
15 Answers
+ 4
It's error SÄñtösh, causa \n go inse a string and by mistake are you closing before comma.
Should be print("Hello.\n");
If and some prints come with line break, as System.out.println(yourString);
print and println are same, but println bring new line in the end.
+ 2
It is very simple use "\n" character in output statement.
cout << "\n";
(or)
cout << "Hi \n";
(or)
cout << "some string" << endl;
+ 1
Use " \n" not using this"/n"
0
\n
n: new line, and need be escaped.
0
See print("hello",\n")
0
My codes here can't accept input. It keeps giving errors. Any help
0
It's c++ code please
0
Same \n, is is line break on all languages.
prinf("Your text.\n");
0
Check this code guys
Keeps giving error that n is not declared
0
Here is running normal. https://imgur.com/a/oz4fg1A
0
Thanks a lot guys
I appreciate it
0
Use endl or \n