Can someone please help me on the code practice for Variables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone please help me on the code practice for Variables

Second last section of that lesson

4th Jan 2023, 9:51 AM
Goitsemodimo Marumo
Goitsemodimo Marumo - avatar
16 Answers
+ 17
Please mention the programming language, describe the task and show your code attempt
4th Jan 2023, 9:58 AM
Lisa
Lisa - avatar
+ 4
There are too many courses - we can't know what exactly you're having trouble with. Can you tell us what you're struggling with specifically?
4th Jan 2023, 9:54 AM
HonFu
HonFu - avatar
+ 2
Not everyone can access this course yet. What does the task description ask you to do?
4th Jan 2023, 10:05 AM
Lisa
Lisa - avatar
+ 1
The task says I should do a smiley face using the character @...but I don't understand how..I've been trying to do it but it's not working
4th Jan 2023, 10:43 AM
Goitsemodimo Marumo
Goitsemodimo Marumo - avatar
+ 1
My problem is there..when I try the code...there is no output..it says that..so I don't understand
4th Jan 2023, 10:44 AM
Goitsemodimo Marumo
Goitsemodimo Marumo - avatar
+ 1
Goitsemodimo Marumo As I seen, there is already given you smily pattern in a string. You just asked to display that string.
4th Jan 2023, 10:48 AM
Jayakrishna 🇮🇳
+ 1
Yes..but I don't know how..care to show me yours?(please..I'm just learning..I'm just 14)
4th Jan 2023, 11:23 AM
Goitsemodimo Marumo
Goitsemodimo Marumo - avatar
+ 1
You must have solved the first lesson code coach. It's the same way.. Retake the first lesson. You use cout instruction to output as : cout << "hello"; cout << 43; Here the value is in a string like string str = "@hello@"; so just use this variable next, like : cout << str ; // this outputs str value @hello@ Hope this help to solve it. Add output str value in coach as cout << str;
4th Jan 2023, 11:51 AM
Jayakrishna 🇮🇳
+ 1
I will go and check..if it's not..I'll tell u again..thanks
4th Jan 2023, 1:45 PM
Goitsemodimo Marumo
Goitsemodimo Marumo - avatar
+ 1
Can you share the task
4th Jan 2023, 2:02 PM
Ambrish Kumar Upadhyay
Ambrish Kumar Upadhyay - avatar
0
Introduction to C++ ,Basic Concepts , Lesson of Variables, second last section of the lesson.
4th Jan 2023, 10:02 AM
Goitsemodimo Marumo
Goitsemodimo Marumo - avatar
0
You can share the task description along with your try here.. if I am correct about : As I see, that there asked only to output created string. So what you tried there? Just output string.
4th Jan 2023, 10:37 AM
Jayakrishna 🇮🇳
0
Nadie habla español?
4th Jan 2023, 10:27 PM
Julian Argañaraz
Julian Argañaraz - avatar
0
I have just studied it in C++
5th Jan 2023, 7:58 AM
Wang Junhan
Wang Junhan - avatar
0
cv
5th Jan 2023, 7:03 PM
ABDOU DZ
ABDOU DZ - avatar
0
Please, if you had a trouble swipe up ʼcommentʼ you can read and understand here whatʼs the problem in this section and its solution. if you need to special question, please, donʼt forget to write: What language do you learning? Which section of (every section has a number or header) you mean?
5th Jan 2023, 10:29 PM
Sardorbek Safarov
Sardorbek Safarov - avatar