–ö–ĺ–Ľ–ł—á–Ķ—Ā—ā–≤–ĺ —Ā–ł–ľ–≤–ĺ–Ľ–ĺ–≤ –≤ prompt | Sololearn: Learn to code for FREE!
0

–ö–ĺ–Ľ–ł—á–Ķ—Ā—ā–≤–ĺ —Ā–ł–ľ–≤–ĺ–Ľ–ĺ–≤ –≤ prompt

–ü–ĺ–ľ–ĺ–≥–ł—ā–Ķ, –Ņ–ĺ–∂–į–Ľ—É–Ļ—Ā—ā–į, –Ĺ–į–Ņ–ł—Ā–į—ā—Ć –Ņ—Ä–ĺ–≥—Ä–į–ľ–ľ—É, –ļ–ĺ—ā–ĺ—Ä–į—Ź –Ī—É–ī–Ķ—ā —Ā—á–ł—ā–į—ā—Ć –ļ–ĺ–Ľ–ł—á–Ķ—Ā—ā–≤–ĺ —Ā–ł–ľ–≤–ĺ–Ľ–ĺ–≤, –≤–≤–Ķ–ī—Ď–Ĺ–Ĺ—č—Ö –≤ –ĺ–ļ–Ĺ–ĺ prompt

28th Mar 2019, 4:45 PM
–Ě–į—ā–į–Ľ—Ć—Ź –ú–ĺ—Ä—Ā–ļ–į—Ź –ü–Ķ—Ö–ĺ—ā–į
–Ě–į—ā–į–Ľ—Ć—Ź –ú–ĺ—Ä—Ā–ļ–į—Ź –ü–Ķ—Ö–ĺ—ā–į - avatar
2 Réponses
+ 2
You can see my example code, which removes whitespaces (if user enters some) and counts only the non- blank elements in the string. Hope it helps you. https://code.sololearn.com/WomyLBNn1McV/?ref=app
28th Mar 2019, 6:03 PM
TheWh¬°teCat ūüáßūüá¨
TheWh¬°teCat ūüáßūüᨠ- avatar
28th Mar 2019, 5:54 PM
Sudarshan Rai
Sudarshan Rai - avatar