How to solve this error | SoloLearn: Learn to code for FREE!

0

How to solve this error

https://code.sololearn.com/c48rlX06b5BS/?ref=app

6/1/2020 12:15:16 PM

Paul

4 Answers

New Answer

+9

Ipang is right..the code works fine

+3

Ipang Maybe he means the warnings.

+2

What is the problem? I didn't have any problem running the code ...

+2

Paul Boby Following up a note from Dennis Roßberg, please from this moment on, avoid use of `gets` function for getting string input. It is deprecated, for safety reasons. For more insights on why it is deprecated, check these SO threads out 👍 https://stackoverflow.com/questions/1694036/why-is-the-gets-function-so-dangerous-that-it-should-not-be-used https://stackoverflow.com/questions/30890696/why-gets-is-deprecated