- 1

Play ground writing C code and Multiple inputs

I started the C tutorial and I am writing code in the playground. I tried to use multiple inputs and separated them with a carriage return. This didn't work Using space as a separator it works fine Why is this ? https://code.sololearn.com/clIoWz4ek0x5

27th Sep 2018, 7:57 AM
sneeze
sneeze - avatar
1 Antwort
0
Your gets(s) breaks when it eats the backslash \ in line break \n
1st Oct 2018, 12:10 PM
Gordon
Gordon - avatar