Code to find no. of words in a sentence ??? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Code to find no. of words in a sentence ???

I was trying to da same question but aftrr writing it all the way down, i came across the result as NO OUTPUT. https://code.sololearn.com/cq3PhKDzMTFp/?ref=app

7th Jan 2020, 12:25 PM
Karan Sharma
Karan Sharma - avatar
2 Antworten
+ 3
you just forgot to increment the index "i"
7th Jan 2020, 12:29 PM
MO ELomari
MO ELomari - avatar
+ 1
Thankz buddy, And yes it was stupid mistake but I'm hapoy now 😁😋
7th Jan 2020, 12:34 PM
Karan Sharma
Karan Sharma - avatar