0

I don't get it. This code is doing EXACTLY what I was instructed to produce.

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

12th Jan 2021, 1:25 AM
Michael Maxwell
Michael Maxwell - avatar
6 Respostas
+ 5
Try removing the space between the C and \n, as well as the space between the + and \n.
12th Jan 2021, 1:37 AM
Elizabeth Kelly
Elizabeth Kelly - avatar
+ 3
Removing the spaces worked perfectly. Thanks for the assist. 👍🏻
12th Jan 2021, 1:42 AM
Michael Maxwell
Michael Maxwell - avatar
+ 3
You’re welcome Michael Maxwell . Please mark your question as solved.
12th Jan 2021, 1:45 AM
Elizabeth Kelly
Elizabeth Kelly - avatar
+ 1
Tarvs mark an provided answer as best (check mark) and optionally update the question title to include the word [SOLVED]
12th Jan 2021, 3:15 PM
Elizabeth Kelly
Elizabeth Kelly - avatar
+ 1
12th Jan 2021, 6:38 PM
Sekiro
Sekiro - avatar
0
Elizabeth Kelly You can mark your question as solved? How?
12th Jan 2021, 8:50 AM
Sekiro
Sekiro - avatar