+ 1
Roses are red Violets are blue \n New lines problem
Ok so I'm doing the practice for the new lines using \n instead of endl. I get the same result as the example but it says I'm not doing it correctly. SOS
8 Réponses
+ 2
Oook folks i figured it out. I was just missing the space between \n and the next line.
#include <iostream>
using namespace std;
int main()
{
cout<<"Roses are red\n Violets are blue\n I love C++\n And you will like it too!";
return 0;
}
+ 2
👍
+ 2
Good job.
0
Mandy hello
0
Hello.
0
Mandy can you please reply me in inbox chat
0
There aren't any messages in my inbox. What's up??
0
Mandy go and check again....and if there is no message ....please tell me a platform where we can talk like facebook , instagram or whatsapp or snapchat