0

What is wrong with this code?

#include <iostream> using namespace std; int main() { cout << "C /n"; cout << "+ /n"; cout << "+"; return 0; }

13th Jan 2022, 5:20 PM
Kookie Kracie
4 Answers
+ 6
Kookie Kracie , (if your question is related with a code coach exercise in a tutorial, we need to modify the code) additionally to the hints you already got, you have to remove all spaces inside the strings. happy coding!
13th Jan 2022, 5:41 PM
Lothar
Lothar - avatar
+ 3
Use \n instead of /n
13th Jan 2022, 5:28 PM
Krish
Krish - avatar
+ 2
Nothing. But what you trying? Printing in separate line or adding line break? Then you need \n instead of /n
13th Jan 2022, 5:26 PM
Jayakrishna 🇼🇳
0
Thank you
13th Jan 2022, 5:30 PM
Kookie Kracie