Posts by user55259 • 21 points
1 post
-
2
votes3
answers620
viewsQ: How to print the amount of words in a string that gets a sentence in . NET?
I would like to print the amount of words in a sentence declared within a string. Example: string frase = "Meu carro vermelho é caro" cont = 0; aux = -1; while(frase.lenght() < frase =="") {…