Skip to content

Commit cba7e1e

Browse files
authored
Update task.md
1 parent bd96c00 commit cba7e1e

File tree

1 file changed

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

1 file changed

+7
-7
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
importance: 2
1+
маанилүүлүк: 2
22

33
---
44

5-
# Show the sign
5+
# Белгини көрсөтүңүз
66

7-
Using `if..else`, write the code which gets a number via `prompt` and then shows in `alert`:
7+
`if..else` түзүлүшүн колдонуп, `prompt` аркылуу санды алып, `alert` менен көрсөткөн кодду жазыңыз:
88

9-
- `1`, if the value is greater than zero,
10-
- `-1`, if less than zero,
11-
- `0`, if equals zero.
9+
- `1`, мааниси нөлдөн жогору болсо,
10+
- `-1`, нөлдөн төмөн болсо,
11+
- `0`, нөлгө барабар болсо.
1212

13-
In this task we assume that the input is always a number.
13+
Бул тапшырмада биз киргизилген маанини ар дайым сан экенин болжойбуз.
1414

1515
[demo src="if_sign"]

0 commit comments

Comments
 (0)