0
Anyway give if exam
anyway give if exam
3 Réponses
+ 10
It worked fine for me. I'm guessing you are confused about how SoloLearn Playground runs programs. When you ask for a program to run, it is checked to see if it requires console inputs. If so, a prompt is given and you must enter all of the inputs. Those inputs are then sent to the server with the request to run your program. The program executes using the inputs you provided, until it exits or it uses too much processor time and gets aborted. Once done, the output is sent back to the app and it gets displayed. You do not get to interact directly with your program.
Note: web programs work differently. The app acts like a browser and interaction is available.
+ 1
@John Wells thanks for answer.
0
Console.WriteLine("passaword");
int passaword;
passaword=Convert.ToInt32(Console.ReadLine());
if(passaword==44)
{
Console.WriteLine("succes");
}
this code why not work ? pls help me