+ 1

how can we ask user to give input (integers) like this in character array..

Input 4 5 7 and we can read 4 ,5 and 7 as different integers

13th Oct 2018, 12:14 PM
Arun
4 Antworten
+ 1
Specify the language as it differs from language to language
13th Oct 2018, 12:47 PM
TurtleShell
TurtleShell - avatar
+ 1
c++
13th Oct 2018, 12:52 PM
Arun
0
c++ : #include <iostream> using namespace std; int main(){ int x; x << cin; }; python: x = intput() -=-=-=-=-=- I think python makes it easier ... 😉
13th Oct 2018, 12:51 PM
Anton Böhler
Anton Böhler - avatar
0
inputs are Strings default but can be changes to Integer or ... When you have multiple inputs in Sololearn you write ever input in another line.
13th Oct 2018, 12:53 PM
Anton Böhler
Anton Böhler - avatar