+ 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
2 Answers
+ 6
Only web codes are good for interactive input on code playground.
+ 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