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!

5th Jan 2023, 9:58 AM
Stonedev
Stonedev - avatar
23 Respuestas
+ 4
#include <stdio.h> int main(){ puts(" @@@@ @@@@\n @@@@@@ @@@@@@\n @@@@@@ @@@@@@\n @@@@ @@@@\n\n\n\n@ @\n @@ @@\n @@@ @@@\n @@@@@ @@@@@\n @@@@@@@@@@@@@\n"); }
7th Jan 2023, 9:58 AM
Smith Welder
Smith Welder - avatar
+ 2
You need to output the string. Read the lesson again and pay attention to cout
5th Jan 2023, 10:13 AM
Lisa
Lisa - avatar
+ 2
Thanks lisa
5th Jan 2023, 10:14 AM
Stonedev
Stonedev - avatar
+ 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.
6th Jan 2023, 11:20 PM
Lisa
Lisa - avatar
+ 2
You are supposed to print the variable smiley, not "smiley" Compare: cout << smiley; cout << "smiley";
6th Jan 2023, 11:26 PM
Lisa
Lisa - avatar
+ 2
Do not change the given string. Why are all the line breaks \\n instead of \n.
6th Jan 2023, 11:45 PM
Lisa
Lisa - avatar
+ 2
momo Do not delete the given string.
3rd Nov 2023, 12:05 PM
Lisa
Lisa - avatar
+ 1
What's the name of the code coach
5th Jan 2023, 10:12 AM
Kenobi
Kenobi - avatar
+ 1
Show your complete code and give a complete task description
6th Jan 2023, 10:56 PM
Lisa
Lisa - avatar
+ 1
FINALLY thanks so much lisa!!
7th Jan 2023, 1:24 AM
Stonedev
Stonedev - avatar
0
Smiley face
5th Jan 2023, 10:13 AM
Stonedev
Stonedev - avatar
0
Its still not working- i outputted the string but it says im not
6th Jan 2023, 10:50 PM
Stonedev
Stonedev - avatar
0
PLEASE HELPPpPppp
6th Jan 2023, 10:51 PM
Stonedev
Stonedev - avatar
0
How do i put the code coach info and code on this post?
6th Jan 2023, 10:59 PM
Stonedev
Stonedev - avatar
0
The task description is “Complete the code to output the value of the variable and check out the result!”
6th Jan 2023, 11:25 PM
Stonedev
Stonedev - avatar
0
OMG thanks u so much i didnt see that part xd
6th Jan 2023, 11:26 PM
Stonedev
Stonedev - avatar
0
Ummm it still didnt work
6th Jan 2023, 11:27 PM
Stonedev
Stonedev - avatar
0
I read something that said \n
7th Jan 2023, 1:20 AM
Stonedev
Stonedev - avatar
0
Wait
7th Jan 2023, 1:21 AM
Stonedev
Stonedev - avatar