+ 1
The code in try it yourself doesn’t work
The code when run doesn’t work, I haven’t changed anything, but it doesn’t do what it’s supposed to What is wrong with it? 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 yourName; Console.WriteLine("What is your name?"); yourName = Console.ReadLine(); Console.WriteLine("Hello {0}", yourName); } } }
8 Respuestas
+ 8
will you stop with the "sir" already? ._.
+ 5
C# course => Basic Concepts => Getting User Input
works well for me....
+ 4
agreed @Burey sir it is taking input and giving user input as output
i think @chris you ran a c# code in other compiler
+ 3
ok @Burey sir
i fill werid to call elder by there name directly😁
+ 2
plz can you post code😊
+ 2
I have the code that is the problem
+ 2
I can pick the wrong compiler for the code?
0
the code seems fine. Sometimes SL reports no output, or time limit exceeded, I usually don't give much importance to problems because they just happen, maybe 'cause the servers are busy or something.
As for the 'sir' thing, I've seen it so much that idk if it's said respectfully or mockingly -_-
It's like prosternating to someone, but how is that appropriate in our nowaday world, when we should consider everyone equal? That's why it sounds like it's used mockingly.