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

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
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
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
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.