Skip to content

Commit 8b5cfe2

Browse files
author
Heinonen Ava R
committed
part 1 exercise translations
1 parent d75bb35 commit 8b5cfe2

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

data/osa-1/6-conditional-statements.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,21 +1474,26 @@ if (number % 4 != 0) {
14741474
<!-- <programming-exercise name='Lahjaverolaskuri' tmcname='osa01-Osa01_37.Lahjaverolaskuri'> -->
14751475
<programming-exercise name='Gift tax' tmcname='part01-Part01_37.GiftTax'>
14761476

1477-
[https://www.vero.fi/henkiloasiakkaat/omaisuus/lahja/](https://www.vero.fi/henkiloasiakkaat/omaisuus/lahja/): *Lahja tarkoittaa sitä, että omaisuus siirtyy toiselle henkilölle ilman korvausta. Lahjasta pitää maksaa lahjaveroa, jos samalta lahjanantajalta saatujen lahjojen arvo on kolmen vuoden aikana 5 000 euroa tai enemmän.*
1478-
1479-
Kun lahja tulee lähimmiltä sukulaisilta, lahjaveron määrä määräytyy seuraavan taulukon mukaan (lähde [vero.fi](https://www.vero.fi/henkiloasiakkaat/omaisuus/lahja/lahjaverolaskuri/#lahjaverotaulukot)):
1480-
1481-
| Lahja | Vero alarajalla | Veroprosentti ylimenevästä |
1482-
|-----------------------|------------------|-----------------------------|
1483-
| 5 000 -- 25 000 | 100 | 8 |
1484-
| 25 000 -- 55 000 | 1 700 | 10 |
1485-
| 55 000 -- 200 000 | 4 700 | 12 |
1486-
| 200 000 -- 1 000 000 | 22 100 | 15 |
1487-
| 1 000 000 -- | 142 100 | 17 |
1488-
1489-
Esimerkiksi 6000 euron lahjasta tulee maksaa veroa 180 euroa (100 + (6000-5000) * 0.08), ja 75000 euron lahjasta tulee maksaa veroa 7100 euroa (4700 + (75000-55000) * 0.12).
1490-
1491-
Tee ohjelma, joka laskee lahjaveron lähimmiltä sukulaisilta annetulle lahjalle. Alla on muutama esimerkki ohjelman toiminnasta.
1477+
<!-- [https://www.vero.fi/henkiloasiakkaat/omaisuus/lahja/](https://www.vero.fi/henkiloasiakkaat/omaisuus/lahja/): *Lahja tarkoittaa sitä, että omaisuus siirtyy toiselle henkilölle ilman korvausta. Lahjasta pitää maksaa lahjaveroa, jos samalta lahjanantajalta saatujen lahjojen arvo on kolmen vuoden aikana 5 000 euroa tai enemmän.* -->
1478+
[https://www.vero.fi/en/individuals/property/gifts/](https://www.vero.fi/en/individuals/property/gifts/): *A gift is a transfer of property to another person against no compensation or payment. If the total value of the gifts you receive from the same donor in the course of 3 years is €5,000 or more, you must pay gift tax.*
1479+
1480+
<!-- Kun lahja tulee lähimmiltä sukulaisilta, lahjaveron määrä määräytyy seuraavan taulukon mukaan (lähde [vero.fi](https://www.vero.fi/henkiloasiakkaat/omaisuus/lahja/lahjaverolaskuri/#lahjaverotaulukot)): -->
1481+
When a gift is given by a close relative or a family member, the amount of gift tax is determined by the following table (source [vero.fi](https://www.vero.fi/en/individuals/property/gifts/gift-tax-calculator/#gifttaxtables)):
1482+
1483+
| Value of gift | Tax at the lower limit | Tax rate(%) for exceeding part |
1484+
|-----------------------|-------------------------|---------------------------------|
1485+
| 5 000 -- 25 000 | 100 | 8 |
1486+
| 25 000 -- 55 000 | 1 700 | 10 |
1487+
| 55 000 -- 200 000 | 4 700 | 12 |
1488+
| 200 000 -- 1 000 000 | 22 100 | 15 |
1489+
| 1 000 000 -- | 142 100 | 17 |
1490+
1491+
<!-- Esimerkiksi 6000 euron lahjasta tulee maksaa veroa 180 euroa (100 + (6000-5000) * 0.08), ja 75000 euron lahjasta tulee maksaa veroa 7100 euroa (4700 + (75000-55000) * 0.12). -->
1492+
For example 6000€ gift implies 180€ of gift tax (100 + (6000-5000)*0.08), and 75000€ gift implies 7100€ of gift tax (4700 + (75000-55000) * 0.12).
1493+
1494+
<!-- Tee ohjelma, joka laskee lahjaveron lähimmiltä sukulaisilta annetulle lahjalle. Alla on muutama esimerkki ohjelman toiminnasta. -->
1495+
Write a program that calculates the gift tax for a gift from a close relative or a family member.
1496+
This is how the program should work:
14921497

14931498
<sample-output>
14941499

0 commit comments

Comments
 (0)