Why does the app ask me to split multiple intputs in different lines? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does the app ask me to split multiple intputs in different lines?

I made this simple temprature conversion programme using if else statement and it needs me to do 2 inputs. It asks me if i wanna do °C to F or F to°C and i once i make the choice it asks me again what temp. I wanna convert and finally spits out the answer. Simple, right?.But the thing is when i hit run this box pops up and tells me to split multiple outputs in different lines.So i am really confused! Does the user need to know beforehand what the program is going to ask u to do so that he can give those inputs all at once? Help me out

21st Jan 2019, 3:41 PM
Raghav
Raghav - avatar
1 Answer
+ 2
This is just how it works here. You give all of your inputs at once, and get all of your outputs at once. It makes things simpler for Sololearn. You may want to test your code outside of Sololearn. On Windows, use CodeBlocks for example.
21st Jan 2019, 4:44 PM
Zen
Zen - avatar