We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 105fde0 commit 39e8edbCopy full SHA for 39e8edb
1-js/02-first-steps/10-ifelse/3-sign/task.md
@@ -2,14 +2,14 @@ importance: 2
2
3
---
4
5
-# Show the sign
+# Parodykite ženklą
6
7
-Using `if..else`, write the code which gets a number via `prompt` and then shows in `alert`:
+Naudodami `if..else`, parašykite kodą, kuris gauna numerį per `prompt` ir tada parodo jį per `alert`:
8
9
-- `1`, if the value is greater than zero,
10
-- `-1`, if less than zero,
11
-- `0`, if equals zero.
+- `1`, jeigu vertė yra didesnė nei nulis,
+- `-1`, jeigu mažesnė nei nulis,
+- `0`, jeigu lygus nuliui.
12
13
-In this task we assume that the input is always a number.
+Šioje užduotyje mes tariame, kad visada yra įvedamas numeris.
14
15
[demo src="if_sign"]
0 commit comments