0
C++ is having issues, or it’s me
On the variables lesson for beginner c++, in the last code coach, I have no idea how to do the smiley face code in the code coach. Rlly need help on it asap pls!
23 Answers
+ 4
#include <stdio.h>
int main(){
puts(" @@@@ @@@@\n @@@@@@ @@@@@@\n @@@@@@ @@@@@@\n @@@@ @@@@\n\n\n\n@ @\n @@ @@\n @@@ @@@\n @@@@@ @@@@@\n @@@@@@@@@@@@@\n");
}
+ 2
You need to output the string. Read the lesson again and pay attention to cout
+ 2
Thanks lisa
+ 2
Copy the code.
Go to Code section, click +, select the programming language, insert your code, save.
Come back to this thread, click +, Insert Code, sort for My Code Bits, select your code.
+ 2
You are supposed to print the variable smiley, not "smiley"
Compare:
cout << smiley;
cout << "smiley";
+ 2
Do not change the given string. Why are all the line breaks \\n instead of \n.
+ 2
momo Do not delete the given string.
+ 1
What's the name of the code coach
+ 1
Show your complete code and give a complete task description
+ 1
FINALLY thanks so much lisa!!
0
Smiley face
0
Its still not working- i outputted the string but it says im not
0
PLEASE HELPPpPppp
0
How do i put the code coach info and code on this post?
0
The task description is “Complete the code to output the value of the variable and check out the result!”
0
OMG thanks u so much i didnt see that part xd
0
Ummm it still didnt work
0
I read something that said \n
0
Wait