29th Jun 2017, 2:06 AM
kartik B
kartik B - avatar
2 Respuestas
+ 5
Seems to (in code playground at least) cin for float values require having a dot (no integer parsing), so it will work (in code playground) if you respect two rules: + put all your entries at once in starting pop up asking for input + don't forgot to put 4 lines for your script 4 inputs needed, twice integer, then twice float Works fine with setting input: 4 2 4.2 1.8 ... but don't with: 4 2 4 2 (no output)
29th Jun 2017, 2:16 AM
visph
visph - avatar
0
thanks @visph
29th Jun 2017, 3:04 AM
kartik B
kartik B - avatar