Skip to content

Commit

Permalink
Merge pull request #207 from fwouts/master
Browse files Browse the repository at this point in the history
Improve wording in if-statement problem
  • Loading branch information
ledsun authored Aug 17, 2019
2 parents efaa357 + 516fe6c commit 307bd80
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion problems/if-statement/problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Create a file named `if-statement.js`.

In that file, declare a variable named `fruit`.

Make the `fruit` variable reference the value **orange** with the type of **String**.
Make the `fruit` variable reference the string value **"orange"**.

Then use `console.log()` to print "**The fruit name has more than five characters."** if the length of the value of `fruit` is greater than five.
Otherwise, print "**The fruit name has five characters or less.**"
Expand Down
2 changes: 1 addition & 1 deletion problems/if-statement/problem_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Crea un archivo llamando `if-statement.js`.

En ese archivo, declara una variabe llamada `fruit`.

Haz la variable `fruit` referenciar al valor **orange**, del tipo **String**.
Haz la variable `fruit` referenciar a la cadena de caracteres **"orange"**.

Luego utiliza `console.log()` para imprimir a la terminal "**The fruit name has more than five characters."** si el length de la variable `fruit` es mayor a cinco.
Imprime "**The fruit name has five characters or less.**" de lo contrario.
Expand Down
2 changes: 1 addition & 1 deletion problems/if-statement/problem_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Créez un fichier nommé `instruction-conditionnelle.js`.

Dans ce fichier, déclarez une variable `fruit`.

Assignez à la variable `fruit` la valeur `orange` du type `String`.
Assignez à la variable `fruit` la chaîne de caractères ***"orange"***.

Utilisez ensuite `console.log()` pour afficher **« The fruit name has more than five characters. »** si la longueur du contenu de la variable `fruit` est supérieure à cinq.
Sinon, affichez **« The fruit name has five characters or less. »**
Expand Down
2 changes: 1 addition & 1 deletion problems/if-statement/problem_it.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Crea un file dal nome `if-statement.js`.

In questo file, dichiara una variabile chiamata `fruit`.

Fa' in modo che la variabile `fruit` referenzi il valore **orange** con il tipo **String**.
Fa' in modo che la variabile `fruit` referenzi la stringa **"orange"**.

Quindi usa `console.log()` per stampare "**The fruit name has more than five characters."** se la lunghezza del valore di `fruit` è maggiore di cinque.
Altrimenti, stampa "**The fruit name has five characters or less.**"
Expand Down

0 comments on commit 307bd80

Please sign in to comment.