[Solved]C++ practice problem error
I'm learning c++ and there is a practice code problem. I have solved it and it's giving the correct output still it is saying that the output is wrong(case) The task is to print the following poem in this way *Each statement on new line* Roses are red Violets are blue I love C++ And you will like it too! This is the code: #include <iostream> using namespace std; int main() { //modify given statement cout << "Roses are red\n"; cout << "Violets are blue\n"; cout << "I love C++\n"; cout << "And you will like it too!"; return 0; } My output: Roses are red Violets are blue I love C++ And you will like it too! Expected output: Roses are red Violets are blue I love C++ And you will like it too! Both are same ,still it is not passing the case