Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Wap to count no. of spaces in a string.
3 Respostas
+ 2
Go through the string with a loop and comprae each char with " " and if it is true increase a counter
+ 1
It is that easy that we can give further support for your issue but we do not want to do your work if it is. So please describe your issue more detailed or show us your broken code, so we can help you debuging.
- 2
give me the proper syntax