0
#include <iostream> using namespace std; int main() { //modify the given statement cout << "C++"; return 0; }
The given program outputs "C++". Change the code to output each character on a new line, resulting in: C + +
6 Answers
+ 4
The answer is in lesson 3.1 of the C++ course on sololearn.
Please don't put code in the heading ā rather put it in a script on playground and link the script here
+ 3
Please read the lesson carefully: A linebreak is indicated by \n ā not /n.
Also the required output has 3 lines
+ 3
Well you can use \n multiple times you know
+ 2
Thank you allš
0
i did all the possible solution i can but it's still wrong, the output is correct but it says there's no input. how can i fix this, help ļ½”:ļ¾(;Ā“ā©`;)ļ¾:ļ½”
- 1
Okay š
I know it will be :coutĀ«"c++/n";
but it's also false .