Skip to content

Commit 08f0076

Browse files
authored
Translated task.md
1 parent 37e6ccb commit 08f0076

File tree

1 file changed

+7
-7
lines changed
  • 1-js/02-first-steps/12-while-for/7-list-primes

1 file changed

+7
-7
lines changed

1-js/02-first-steps/12-while-for/7-list-primes/task.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ importance: 3
22

33
---
44

5-
# Output prime numbers
5+
# Atiduoti pirminius numerius
66

7-
An integer number greater than `1` is called a [prime](https://en.wikipedia.org/wiki/Prime_number) if it cannot be divided without a remainder by anything except `1` and itself.
7+
Sveikieji skaičiai didesni už `1` yra vadinami [prime](https://en.wikipedia.org/wiki/Prime_number), jeigu jie gali būti padalinti be liekanos tik iš pačio savęs arba `1`.
88

9-
In other words, `n > 1` is a prime if it can't be evenly divided by anything except `1` and `n`.
9+
Kitaip sakant, `n > 1` yra pirminis, jeigu jis negali būti lygiai padalintas iš nieko kitaip kaip tik `1` ir `n`.
1010

11-
For example, `5` is a prime, because it cannot be divided without a remainder by `2`, `3` and `4`.
11+
Pavyzdžiui, `5` yra pirminis, nes negali būti padalintas be liekanos iš `2`, `3` ir `4`.
1212

13-
**Write the code which outputs prime numbers in the interval from `2` to `n`.**
13+
**Parašykite kodą, kuris atiduotų pirminius numerius intervalu tarp `2` iki `n`.**
1414

15-
For `n = 10` the result will be `2,3,5,7`.
15+
Šiuo atveju `n = 10` rezultatas būtų `2,3,5,7`.
1616

17-
P.S. The code should work for any `n`, not be hard-tuned for any fixed value.
17+
P.S. Kodas turi veikti bet kuriam `n`, o ne paruoštas atitinkamoms vertėms.

0 commit comments

Comments
 (0)