Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion modules/25-strings/30-encoding/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,20 @@ theory: |

instructions: |

El programa recibe los códigos numéricos de los caracteres y los muestra en pantalla: esto es útil cuando un carácter es difícil de escribir con el teclado. Encuentra los caracteres con los códigos 126, 94 y 37 en la tabla ASCII y muestra cada uno en una línea distinta con la función `String.fromCharCode()`.
El programa recibe los códigos numéricos de los caracteres y los muestra en pantalla: esto es útil cuando un carácter es difícil de escribir con el teclado. Encuentra los caracteres con los códigos 126, 94 y 37 en la tabla ASCII de abajo y muestra cada uno en una línea distinta con la función `String.fromCharCode()`.

| Carácter | Código |
|----------|--------|
| ! | 33 |
| # | 35 |
| % | 37 |
| & | 38 |
| * | 42 |
| ? | 63 |
| @ | 64 |
| ^ | 94 |
| _ | 95 |
| ~ | 126 |

```javascript
console.log(String.fromCharCode(...));
Expand Down
15 changes: 14 additions & 1 deletion modules/25-strings/30-encoding/en/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
The program receives the numeric codes of characters and prints them to the screen — this is convenient when a character is hard to type on the keyboard. Find the characters with codes 126, 94, and 37 in the ASCII table and print each on a separate line using the `String.fromCharCode()` function.
The program receives the numeric codes of characters and prints them to the screen — this is convenient when a character is hard to type on the keyboard. Find the characters with codes 126, 94, and 37 in the ASCII table below and print each on a separate line using the `String.fromCharCode()` function.

| Character | Code |
|-----------|------|
| ! | 33 |
| # | 35 |
| % | 37 |
| & | 38 |
| * | 42 |
| ? | 63 |
| @ | 64 |
| ^ | 94 |
| _ | 95 |
| ~ | 126 |

```javascript
console.log(String.fromCharCode(...));
Expand Down
15 changes: 14 additions & 1 deletion modules/25-strings/30-encoding/es/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
El programa recibe los códigos numéricos de los caracteres y los muestra en pantalla: esto es útil cuando un carácter es difícil de escribir con el teclado. Encuentra los caracteres con los códigos 126, 94 y 37 en la tabla ASCII y muestra cada uno en una línea distinta con la función `String.fromCharCode()`.
El programa recibe los códigos numéricos de los caracteres y los muestra en pantalla: esto es útil cuando un carácter es difícil de escribir con el teclado. Encuentra los caracteres con los códigos 126, 94 y 37 en la tabla ASCII de abajo y muestra cada uno en una línea distinta con la función `String.fromCharCode()`.

| Carácter | Código |
|----------|--------|
| ! | 33 |
| # | 35 |
| % | 37 |
| & | 38 |
| * | 42 |
| ? | 63 |
| @ | 64 |
| ^ | 94 |
| _ | 95 |
| ~ | 126 |

```javascript
console.log(String.fromCharCode(...));
Expand Down
15 changes: 14 additions & 1 deletion modules/25-strings/30-encoding/ru/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
Программа получает числовые коды символов и выводит их на экран — это удобно, когда символ сложно набрать с клавиатуры. Найдите символы с кодами 126, 94 и 37 в таблице ASCII и выведите каждый на отдельной строке с помощью функции `String.fromCharCode()`.
Программа получает числовые коды символов и выводит их на экран — это удобно, когда символ сложно набрать с клавиатуры. Найдите символы с кодами 126, 94 и 37 в таблице ASCII ниже и выведите каждый на отдельной строке с помощью функции `String.fromCharCode()`.

| Символ | Код |
|--------|-----|
| ! | 33 |
| # | 35 |
| % | 37 |
| & | 38 |
| * | 42 |
| ? | 63 |
| @ | 64 |
| ^ | 94 |
| _ | 95 |
| ~ | 126 |

```javascript
console.log(String.fromCharCode(...));
Expand Down
Loading