Query | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Query

This app is not allowing to enter the data by user though scanf function is used. https://code.sololearn.com/cwZ2oApVG1pV/?ref=app

2nd Sep 2021, 11:05 AM
Srishti Jaiswal
Srishti Jaiswal - avatar
1 Answer
+ 4
Unfortunately, not all input methods are recognized properly. One workaround is to place a macro like the following somewhere in your code: #define dummy cin >> That should trigger the input box in place of scanf, allowing you to enter input like normal. You can also report this via the in-app feedback tool or by mailing info@sololearn.com if you want, but as far as I know, it has been like this for years now, so I wouldn't expect much from it.
2nd Sep 2021, 11:18 AM
Shadow
Shadow - avatar