+ 1

How to make this code work correctly

Hi to all! I wrote a code that does the following: prints the question, reads the aswer and then prints the correct answer (if your answer was incorrect) or confirms the answer. But the program does not allow to see the question, it asks for input first. How to solve this? https://code.sololearn.com/cw6EL9v7VNo4/?ref=app

13th Mar 2019, 1:12 PM
spkruglov
2 Answers
+ 1
This is the way the sololearn server works. Because it is a remote server, you need to give all inputs before you can run the code. Your code is good, but cannot work on the sololearn server because you don't know the question you need to answer. (please use c# as tag, cs is used less and can be confused with css)
13th Mar 2019, 1:43 PM
sneeze
sneeze - avatar
0
Ok, thanks for answer. So, the Sololearn playground is just for fun.
14th Mar 2019, 6:36 AM
spkruglov