All language subtitles for 20. Nested Loops - Print Right Angle Triangle Pattern - part 1 - Question

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,360 --> 00:00:08,960 Well, Kia is so welcome back to another exercise in our programming course, any of these exercises, 2 00:00:08,970 --> 00:00:12,450 we still keep on talking about loops. 3 00:00:13,560 --> 00:00:15,230 So what do we have to do here? 4 00:00:15,390 --> 00:00:21,960 We have to write a program that receives an integer, let's call this integer N, and the program should 5 00:00:21,960 --> 00:00:30,500 basically print a right angle triangle with the following pattern from probably one up to give an M. 6 00:00:31,290 --> 00:00:33,730 So the pattern looks like this. 7 00:00:33,750 --> 00:00:40,620 So let's say an equals to three that what the user provided and we have to print in the first line, 8 00:00:40,620 --> 00:00:42,720 one in the second line, one, two. 9 00:00:42,720 --> 00:00:49,590 And in the third line in the last line for these M one, two, three, four, for example, if we had 10 00:00:49,590 --> 00:00:51,090 like an equals to five. 11 00:00:51,090 --> 00:00:57,330 So the same just on every line running from one one, two, one, two, three, one, two, three, 12 00:00:57,330 --> 00:00:57,750 four. 13 00:00:58,050 --> 00:01:03,940 And in the last fifth line we will print all the values from one up to five. 14 00:01:04,010 --> 00:01:12,990 OK, so what do you have to do in this exercise is to think about some logic and how you can use loops 15 00:01:12,990 --> 00:01:19,950 probably to help you with the solution of this exercise, because probably without loops it will be 16 00:01:19,950 --> 00:01:25,260 really difficult to solve even it may be even impossible. 17 00:01:25,260 --> 00:01:25,630 Right. 18 00:01:25,800 --> 00:01:27,470 Or maybe you have some suggestions. 19 00:01:28,140 --> 00:01:29,520 So take your time, guys. 20 00:01:29,520 --> 00:01:30,660 Think of the solution. 21 00:01:30,660 --> 00:01:35,220 And of course, as always, I will see you in the Solutions video. 22 00:01:35,610 --> 00:01:37,110 Until then, bye bye. 2096

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.