+ 2

Can anybody help if knows Kotlin .....You will know the problem Thanks!

https://code.sololearn.com/cb0acnFtgdBM/?ref=app

24th May 2019, 4:39 PM
Namir
Namir - avatar
8 Respuestas
+ 4
Here's another way: You press run -> a dialog box pops up ('Looks like your program needs an input' thingy) -> you type the name -> you press enter -> you type the roll -> you press submit -> the output shows up
24th May 2019, 6:05 PM
Bodan Talev
Bodan Talev - avatar
+ 2
Your code works fine... What he tries to tell you is that when you input your name and the roll in the dialog box you should separate them with new lines (press enter after each input). Input example: Namir abc Output: | | | Name : Namir | | Roll : abc | | | |________________________________________
24th May 2019, 5:48 PM
Bodan Talev
Bodan Talev - avatar
+ 2
Unfortunately, SoloLearn won't let me post a screenshot to you or I would just show you that way. I'm not sure how to explain it beyond what Bodan and I have already said.
24th May 2019, 6:00 PM
AgentSmith
+ 1
What's the problem? I don't get an error or see the issue, so maybe it's better to explain what you're wanting help with. If you mean the spacing, just add another space before Roll.
24th May 2019, 4:42 PM
AgentSmith
+ 1
I can write the name but not the roll part
24th May 2019, 4:43 PM
Namir
Namir - avatar
+ 1
In SoloLearn, you have to separate each input onto its own line For example: Namir test ^Put that in the input box. :::: OUTPUT :::: | | Name : Namir | | Roll : test | | | |__________________________________________________
24th May 2019, 4:46 PM
AgentSmith
+ 1
Thanks
24th May 2019, 4:48 PM
Namir
Namir - avatar
+ 1
Pardon me it doesnt work can you send me a same code fixed
24th May 2019, 4:50 PM
Namir
Namir - avatar