Anyway give if exam | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anyway give if exam

anyway give if exam

13th Jul 2018, 11:31 PM
Mehmet Çoban
Mehmet Çoban - avatar
3 Answers
+ 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.
14th Jul 2018, 4:23 AM
John Wells
John Wells - avatar
+ 1
@John Wells thanks for answer.
14th Jul 2018, 3:31 PM
Mehmet Çoban
Mehmet Çoban - avatar
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
13th Jul 2018, 11:34 PM
Mehmet Çoban
Mehmet Çoban - avatar