А можно написать так? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

А можно написать так?

cout << "london is the cepitl /n of Great Britan"

9th Jan 2021, 3:36 PM
Ian Shardin
Ian Shardin - avatar
1 Answer
+ 3
Да, но с заоколонином (;) в конце, и если вы хотите напечатать новую строку, она должна быть backslash (\), а не черту (/) Yes but with semicolon (;) at the end and if you want to print a new line, it should be backslash (\), not slash(/) cout << "london is the cepitl \n of Great Britan";
9th Jan 2021, 3:40 PM
noteve
noteve - avatar