+ 1
Hi. I want that My name and last name be in seprate lines. what should I do? Plz help me
3 Answers
+ 3
yaser rewrite your code like this. You need to write "\n" (without quotes) instead of "\" for printing the remaining sentence in new line.
System.out.println("My name is yaser\nMy last name is sabri");
You need to start learning your Java course since it can be seen that you didn't started. Also change your code link with this link given below.
https://code.sololearn.com/cx9yNtNnb32d/?ref=app
+ 1
I like that my codes be like this ,not in seprate sentence. But my name and last name be in seprate sentence. can you help me pleaseM?
+ 1
thank you brother