Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
All right, so here we are, another challenge.
And in this challenge, we are going to do something really interesting.
Suppose that you were using notepad word or any other app to write some text during your lectures or
during your assignments.
And since it's very important, you would like to know how many words to count, the number of words
you've used there.
And although some of these stills, for example, notepad, or were they provide you with this functionality
to find the number of words in a given text?
I want you to develop your own program that will basically do this task.
And since you are a future great programmer, this task shouldn't be that complicated for you.
So let's define the task once again.
Write a program that reads a string from the user, finds out the number of words and prints the result
to the screen.
So, for example, if the given string is something like Hello, my name is Vlad, then the program
should print number of words in the string is five.
So that's basically what do you have to do to get a string?
To find out how many words in this particular sentence or identify a couple of sentences.
It doesn't matter how many words we have there.
I hope the instructions are clear.
And now we can give you some time to think of the solution and try figuring out how would you find the
number of words in these given text?
Basically, think about what separates every word and try to write a program that will be capable of
solving this task.
And good luck, guys, and I'll see you in the Solutions video.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.