+ 4
How to get multiple variabels on one line?
So I was wondering to do this in different languages Say I have an input 1 2 3 4 5 6 7 In python you could easily have all the variables by using the split() method, but it's difficult to do on other languages I wander how to do this on: • C++ • Java • Pascal how do you do this? I've searched on google, but kinda hard to find the answers thanks!
5 Respostas
+ 16
Will this help?
https://code.sololearn.com/c4IA2lsqvq1a/?ref=app
+ 11
https://code.sololearn.com/c2PYIvz3UW3Z/?ref=app
0
https://code.sololearn.com/c2PYIvz3UW3Z/?ref=app