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 Antworten
+ 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 .