+ 2
Can anybody help if knows Kotlin .....You will know the problem Thanks!
8 Antworten
+ 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
+ 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
|
|
|
|________________________________________
+ 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.
+ 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.
+ 1
I can write the name but not the roll part
+ 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
|
|
|
|__________________________________________________
+ 1
Thanks
+ 1
Pardon me it doesnt work can you send me a same code fixed