+ 1

Cin doesn't read user input data

What's your output for this? In my output window here on my android phones, it does not wait for second variable. Insert 8 for b and showsresult Enter a number Enter another number 5 8

31st Aug 2019, 7:17 PM
Ahmed Salimi
Ahmed Salimi - avatar
2 ответов
+ 6
Only web codes are good for interactive input on code playground.
31st Aug 2019, 10:40 PM
Sonic
Sonic - avatar
+ 4
Input is sadly a bit weird on Sololearn because the code is actually run on a server. To use two inputs you need to enter them both into the first input prompt and separate them with a new line like this: input 1 input 2
31st Aug 2019, 7:48 PM
Aaron Eberhardt
Aaron Eberhardt - avatar