All language subtitles for 11. Unique Clock Representation - 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
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

Original subtitles

What is going on, guys, so another amazing exercise in our programming course and in this exercise,

what we are going to do is simply to write a program that receives an integer that represents seconds.

OK, very similar to one of our previous exercises, I think in the previous chapter, in the previous

section, we also use that.

But here we will make some upgrades in some editions with probably using the conditions.

Right.

So write the program that receives an integer representing seconds, and the program should convert

the given seconds into, first of all, total hours, total minutes and remaining seconds.

And one important thing about this exercise is that your program should print the result in the following

format.

So that's the main main idea behind it, to print it in the following format and not like just like

we've done it previously.

We found the hours, the minutes and the seconds just by converting the main seconds that we received.

But here we will need to print the result in this format.

So hours, minutes and seconds, we will need to print it like these nice little clocks, if you remember,

or maybe some of you still have them.

So that's how we should print it.

And although it seems to be pretty easy and pretty straightforward, there are a couple of notes here

that let's talk about them.

Let's just see this nice example.

So seconds, for example, is for a thousand.

Then we know how to receive ours.

We know how to receive minutes, and we also know how can we retrieve the remaining seconds out of it.

We talked about it in one of our previous exercises.

It was very similar to this one.

You just accept that now we are going to use this information to print all the time in these following

format.

So the final result should be zero one zero six forty.

And one of the things that you need to understand is if, for example, the number of hours was like,

I don't know, 11, there is no problem.

We should simply print the hours.

But what happens if the hours is less than 10?

Then we still need somehow to print this zero before the one in this zero before the six.

OK, so that's the whole idea about this exercise.

So the printed result should not be one six forty.

It should be zero one because do let's say two places, two digits for the hours, digits for the minutes

and do the jets for the seconds.

That's what we are going to to use.

So basically in this exercise, the arrangement of the zeroes here matter.

OK, so that's basically what I have to tell you as part of the requirements for this exercise.

Take your time.

Think about it, how you should tackle it, how we should solve it, and how basically you should print

every value that you will receive in the following format.

So until next time, I will see you in the Solutions video.

This is Alphatech by.

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