All language subtitles for 7. Employee Salary Calculator - Solution

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

All right, hello there.

And in this video, we are going to solve the previous exercise that has to calculate your monthly salary,

yours or maybe some some of your friends.

So how should you approach this exercise?

So you have to write a program that gets salary, which is calculated is kind of, let's say, dollars

per hour.

OK, and also what you have to do is to get a total hours worked.

Right.

Worked in a month.

OK, so that will be just hours.

And we know that once we have basic information, we will be able to tell how much money we've made

and where some other employee made during a given month.

So it's going to be not so complicated.

We have to create two variables, two variables, each salary.

OK, basically, let's do it like, I don't know, let's use maybe instead of pened, probably going

to be a floating point type.

So float's salary and also we will specify total hours.

So total hours.

Of course, these variable two may be of a floating coin type.

That's also OK.

I'm just using it for convenience, for my convenience.

So let's say now.

Now what do we have to do is to run these printf Gantner or Inservice doesn't matter.

Enter your salary, salary, care hour per hour.

So that's what the user is requested to do.

And we are going to use ask can have to read this information and store it inside of the salary variable.

So salary.

That's it.

Now what we will have to also do is read the total hours.

So enter the number of hours you worked in the last month, for example.

OK, and now what we have to do is do this kind of function to read this information, using person

to speak and it inside of total hours.

OK, guys, once again, nothing very complicated.

Just using print.

Athens can have to read the information.

And now the final part.

How should we calculate the money that we've made in a given month?

So print out your expected expected salary should be percentage F and what do you think should be printed

instead of this percentage?

So we said we have the salary for our salary per hour and we have the total amount of hours that we

work.

So we simply will multiply salary multiplied by total hours.

That's it.

That's how you calculate it.

Now let's build and run it and make sure that we run.

A simple example in this example works as we expect it.

So enter your salary per hour, let's say, I don't know.

Fifty dollars per hour.

You are an expert and enter the number of hours worked in the last month.

So let's say you worked about two hundred hours, so your expected salary should be 10000 some guys.

So just the limit, the result.

Just use your point to let's run it once again.

So fifty two hundred and one thousand dollars is your expected salary.

If you've made, if you work 50, if you've worked 200 hours and 50 hours, pay fifty dollars, Berowra

is your price.

So that's your final salary.

So awesome.

Make sure you compare it with the salary that the boss pays you.

Right.

Because now you're an expert and you can write a program that will calculate it for you.

So thank you guys for watching and have a great day.

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