+ 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); } } }

8th Sep 2021, 9:44 AM
Dimitris N. Kapoulas
Dimitris N. Kapoulas - avatar
19 Respostas
+ 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.
8th Sep 2021, 10:21 AM
Dimitris N. Kapoulas
Dimitris N. Kapoulas - avatar
+ 5
I solved it.Now I saw that the phrase "Welcome to our event" has no dot. Maybe they fixed it.
9th Sep 2021, 9:13 AM
Dimitris N. Kapoulas
Dimitris N. Kapoulas - avatar
+ 4
Can you copy the task and paste it here? All you need to check whether your output variable is exactly same as expected
8th Sep 2021, 10:47 AM
Simba
Simba - avatar
+ 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
8th Sep 2021, 12:09 PM
Dimitris N. Kapoulas
Dimitris N. Kapoulas - avatar
+ 4
Looks like it's a bug. It shows correct for Leo whereas caremen is wrong lol. Try again later
8th Sep 2021, 2:59 PM
Simba
Simba - avatar
+ 3
Dimitris N. Kapoulas How did you get problem description? Whenever I try to open that practice Sololearn app is crashing.
8th Sep 2021, 9:56 AM
A͢J
A͢J - avatar
+ 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 :(
8th Sep 2021, 10:40 AM
Simba
Simba - avatar
9th Sep 2021, 9:19 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 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 :)
9th Sep 2021, 3:35 PM
Daljeet Singh
Daljeet Singh - avatar
+ 2
I think you can share its link here. So, it will be easy to get your question.
8th Sep 2021, 10:33 AM
Simba
Simba - avatar
+ 2
Dimitris N. Kapoulas Can you post the details of the challenge here.
8th Sep 2021, 10:47 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
It doesn't fail in me. It runs correct.
9th Sep 2021, 3:56 PM
Dimitris N. Kapoulas
Dimitris N. Kapoulas - avatar
+ 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.
8th Sep 2021, 10:15 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Simba I don't think it is possible to share a Pro link.
8th Sep 2021, 10:34 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
So can anyone help me?
8th Sep 2021, 10:45 AM
Dimitris N. Kapoulas
Dimitris N. Kapoulas - avatar
+ 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 ! 🤣😂👍
8th Sep 2021, 10:45 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
let name = readLine(); //your code goes here console.log("Welcome, "+name+"!"); Try this!
19th Jun 2024, 6:47 PM
sneha gondaliya
sneha gondaliya - avatar
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?
23rd Jul 2022, 12:29 AM
Poblador Ivory Claire
Poblador Ivory Claire - avatar
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
23rd Jul 2022, 3:52 AM
Rik Wittkopp
Rik Wittkopp - avatar