+ 1

How to change line with print command

hey guys i want to know that how to we change the line while printing something

7th Oct 2017, 11:48 AM
Gurvansh Singh
Gurvansh Singh - avatar
2 Answers
+ 3
By using "\n" inside the text. For example, Console.WriteLine("Hello \n world!") ;
7th Oct 2017, 11:57 AM
Saidmamad Gulomshoev
Saidmamad Gulomshoev - avatar
+ 2
\n represents a new line.
7th Oct 2017, 12:14 PM
Rishita
Rishita - avatar