+ 8
Problem in Practise 5.2 in C#[SOLVED]
Hi! I think that my solution is true but i have 4 wrong cases. Can help me? My code is: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { string name; //take the name as input name = Console.ReadLine(); Console.WriteLine("Hello {0}. Welcome to our event",name); } } }
19 Answers
+ 5
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ Yes, I have the same problem in the sololearn app, but in desktop there is no such problem. The sololearn app crashes in my smartphone when I try this.
+ 5
I solved it.Now I saw that the phrase "Welcome to our event" has no dot. Maybe they fixed it.
+ 4
Can you copy the task and paste it here?
All you need to check whether your output variable is exactly same as expected
+ 4
The challenge details are:
Getting User Input
You are organizing an important event and you should greet each participant with a welcome message․ The given code outputs the message.
Task
Complete the program to take the participant's name as input and assign it to the "name" variable.
Sample Input
Tom
Sample Output
Hello Tom. Welcome to our event
+ 4
Looks like it's a bug.
It shows correct for Leo whereas caremen is wrong lol.
Try again later
+ 3
Dimitris N. Kapoulas
How did you get problem description? Whenever I try to open that practice Sololearn app is crashing.
+ 3
Rik Wittkopp Bits made it possible:)
https://www.sololearn.com/coach/177?ref=app
But, this practice doesn't have a link to share :(
+ 3
Well done Dimitris N. Kapoulas
+ 3
Dimitris N. Kapoulas there is no doubt that they fixed it because it was comparing string with a dot(.) but still failing
// I have the screenshot :)
+ 2
I think you can share its link here. So, it will be easy to get your question.
+ 2
Dimitris N. Kapoulas
Can you post the details of the challenge here.
+ 2
It doesn't fail in me. It runs correct.
+ 1
Dimitris N. Kapoulas
That challenge is reserved for Pro users which means non Pro can't assist without knowledge of the challenge details.
You have 3 options
1. Wait for a pro user to research the problem and assist you.
2. Use the Code Coach Help system which directs you to a Sololearn helper
3. Post the details of the challenge with your query.
+ 1
Simba
I don't think it is possible to share a Pro link.
+ 1
So can anyone help me?
+ 1
Ahhhh!
Bits has still not been made available to me.
I have done all the usual, updates, reboots, etc....
Trying not to take it personally, but I do feel like I am missing out.
I have also lost 10% of learning in the past 2 months.
Love Sololearn updates !
🤣😂👍
+ 1
let name = readLine();
//your code goes here
console.log("Welcome, "+name+"!");
Try this!
0
I got The answer for Tom, but to Ann and Nick i couldnt. I dont know how to make this two correct. Anyone can help me?
0
Poblador Ivory Claire
Create a separate post to this.
In the tags, put the language you are using.
In the description, put the details of your problem.
Post your playground code with your description so we can see where you are having trouble