We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf851a0 commit 94b1c03Copy full SHA for 94b1c03
1-js/02-first-steps/10-ifelse/3-sign/task.md
@@ -2,14 +2,14 @@ importance: 2
2
3
---
4
5
-# Show the sign
+# Arată semnul
6
7
-Using `if..else`, write the code which gets a number via `prompt` and then shows in `alert`:
+Folosind `if..else`, scrieți codul care obține un număr prin `prompt` și apoi îl afișează în `alert`:
8
9
-- `1`, if the value is greater than zero,
10
-- `-1`, if less than zero,
11
-- `0`, if equals zero.
+- `1`, dacă valoarea este mai mare decât zero,
+- `-1`, dacă este mai mică decât zero,
+- `0`, dacă este egală cu zero.
12
13
-In this task we assume that the input is always a number.
+În această sarcină presupunem că intrarea este întotdeauna un număr.
14
15
[demo src="if_sign"]
0 commit comments