How do i type another text | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
17th Oct 2020, 12:23 AM
Ultra WALKER
Ultra WALKER - avatar
10 Answers
+ 4
What do you mean? You want to take user input? Or You want to output another text on console?
17th Oct 2020, 12:35 AM
Minho
Minho - avatar
+ 4
cout << "Another text"; You can use cout as many times you want..
17th Oct 2020, 12:37 AM
Minho
Minho - avatar
+ 4
Ultra WALKER return 0; marks the end of program.. so anything written after that will not be read by compiler.. only use return 0 when you're done with writing your program. Check this๐Ÿ‘‡ https://code.sololearn.com/c5Pwy9OJutIa/?ref=app
17th Oct 2020, 12:46 AM
Minho
Minho - avatar
+ 4
You're welcome ๐Ÿ˜Š Just don't forget to review cpp course. https://www.sololearn.com/Course/CPlusPlus/?ref=app
17th Oct 2020, 1:03 AM
Minho
Minho - avatar
0
Output another text on console
17th Oct 2020, 12:36 AM
Ultra WALKER
Ultra WALKER - avatar
0
After the curly braces
17th Oct 2020, 12:38 AM
Ultra WALKER
Ultra WALKER - avatar
17th Oct 2020, 12:44 AM
Ultra WALKER
Ultra WALKER - avatar
0
It does not print the second one
17th Oct 2020, 12:45 AM
Ultra WALKER
Ultra WALKER - avatar
0
๐Ÿ˜‘ C++ is fun? I cannot unsee that๐Ÿšถโ€โ™‚๏ธ๐Ÿšถโ€โ™‚๏ธ๐Ÿšถโ€โ™‚๏ธ
17th Oct 2020, 12:53 AM
Ultra WALKER
Ultra WALKER - avatar
0
But dope thanksbro i owe ypu one
17th Oct 2020, 12:54 AM
Ultra WALKER
Ultra WALKER - avatar