+ 2
How to first print and then ask for a userâs input?
https://code.sololearn.com/c1hBDZaCr2W4/?ref=app I just wanted to try how to get a userâs input. Itâs working very well but my now my problem is: The user always has to make an input first and then sees the printed line which could for example be a question the program asks even if the line in the code to print it comes first. So, how can I write the code so that the user sees a printed line with e.g. a question first and then is able to respond with an input?
3 Answers
+ 7
You cant in sololearn with non-web codes the input window will always pop up first.
if you learn some javascript you could do this in web đ
+ 2
Oh ok. Well, Iâm used to work with BlueJ and there it will first print and then ask for input, thatâs why I wondered.
But in that case: Is there a way to put some text or a question in or on the in input box, as a title for example?
+ 1
Oh ok. Well, it would be a great feature for the furure in my eyes. But thank you two for the clarification :)