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, guys, welcome back to another challenge in our programming course.
And in one of our previous challenges in this section, we've written a program using while loops that
could calculate the result of the power for a given number.
So we've added the power functionality to our calculator using the wired loops.
And in the same way, I would like it to solve this task, the same task.
But now, instead of using wired loops, we are going to use for loops.
So just a quick reminder of what you have to do in this task.
You simply have to write a program that will receive as input to numbers a number, a number itself
and its power.
And then the program should calculate the result of NUM in these particular in these given power and
bring the result of a screen.
So pretty much the same as the previous challenge where we solved this exercise by using a while loop.
That just now we are going to use a for loop to solve this.
This the same question just with another looping structure.
So I hope it makes sense that you guys and what I want to show you hearing this challenge is that we
can solve the same task by using different structures of loops, because both of them the for loop and
the while loop, basically they can achieve.
Maybe it will be written differently, but both of them can achieve the same thing on just syntax.
The syntax will be changed a little bit and decipher the syntax that maybe changed.
Some of them are better for one one, one type of problems, one type of challenges, while the other
is better for another types of challenges.
And but both of them can solve the same task.
It just has to be modified a little bit.
So that's it.
So give it a try, guys, and I'll see you in the next video.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.