Skip to content

Commit 39e8edb

Browse files
authored
Translated task.md
1 parent 105fde0 commit 39e8edb

File tree

1 file changed

+6
-6
lines changed
  • 1-js/02-first-steps/10-ifelse/3-sign

1 file changed

+6
-6
lines changed

1-js/02-first-steps/10-ifelse/3-sign/task.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ importance: 2
22

33
---
44

5-
# Show the sign
5+
# Parodykite ženklą
66

7-
Using `if..else`, write the code which gets a number via `prompt` and then shows in `alert`:
7+
Naudodami `if..else`, parašykite kodą, kuris gauna numerį per `prompt` ir tada parodo jį per `alert`:
88

9-
- `1`, if the value is greater than zero,
10-
- `-1`, if less than zero,
11-
- `0`, if equals zero.
9+
- `1`, jeigu vertė yra didesnė nei nulis,
10+
- `-1`, jeigu mažesnė nei nulis,
11+
- `0`, jeigu lygus nuliui.
1212

13-
In this task we assume that the input is always a number.
13+
Šioje užduotyje mes tariame, kad visada yra įvedamas numeris.
1414

1515
[demo src="if_sign"]

0 commit comments

Comments
 (0)