0

Could someone tell me what's wrong in this code?

#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; }

23rd Nov 2020, 7:43 AM
Priyesh
6 Respuestas
+ 3
Nothing, code works just fine no errors. What's your issue?
23rd Nov 2020, 7:47 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
hi Priyesh you can write your code on code playground then link the code here, that will be efficient for fixing whatever issue you're facing
23rd Nov 2020, 8:01 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 2
It runs fine for me. Type it out and try it again.
23rd Nov 2020, 7:53 AM
ChaoticDawg
ChaoticDawg - avatar
+ 2
Maybe this thread has a solution, or points to ponder https://www.sololearn.com/Discuss/2598077/?ref=app
23rd Nov 2020, 10:03 AM
Ipang
+ 2
Oh, ya, I forgot this was a code coach practice. I was just looking at the code as is, in which case it has no issues. The code coach itself however has some issues. Anyway, this post will solve the issue. https://www.sololearn.com/Discuss/2590360/?ref=app
23rd Nov 2020, 10:46 AM
ChaoticDawg
ChaoticDawg - avatar
0
But the app says there's something wrong with this code
23rd Nov 2020, 7:52 AM
Priyesh