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
Yellow, they're beautiful people, hello, they're my students, and in this exercise, we are going
to continue practicing our skills, using loops in our programming language, in what we are going to
do is simply to where is there to come here?
We are going to write a program that receives a noun from the user and these programs should print this
sum, should calculate and printed the sum of all integers from one up to numb.
Basically all the natural numbers in these range from one to none.
OK, so that's the whole point of our program that we are going to develop right now.
And basically, if you want to see a couple of examples, let's say that you received a number five.
So then your program should calculate all the values one plus two plus three plus four plus five and
give you a total of 15 and print these value to the screen.
Also, another example is seven.
So one plus two up until seven.
The final value is twenty eight.
And you should printed also to the screen.
And basically there are a couple of approaches to solve this exercise.
Of course, if you're familiar with using the formulas of arithmetic sequence, that's OK, that's more
efficient.
But we are using loops and we would like to eat over all the elements from one to number into some them
up in the way that you go, like one plus two plus three and so on and so forth.
OK, so yeah, this is it for this video and give it a shot and I will see you with your solution in
the next video.
Goodbye.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.