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
6 changes: 5 additions & 1 deletion modules/20-arithmetics/25-operator/description.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ theory: |
En el ejemplo anterior, se aplica una operación unaria al número `3`. El operador menos antes del tres le indica al intérprete que tome el número `3` y encuentre su opuesto, es decir, `-3`. Esto puede resultar confuso, ya que `-3` es tanto un número en sí mismo como un operador con un operando. Sin embargo, esta es la estructura que tienen los lenguajes de programación.

instructions: |
Una carga se encuentra bajo el agua en la marca de −81 m respecto al nivel del agua. Una grúa la eleva hasta la cubierta de un barco, que está en la marca de +6 m. La carga se mueve verticalmente a una velocidad de 3 m/min.

Escribe un programa que calcule la diferencia entre los números `6` y `-81` y muestre la respuesta en pantalla.
Calcula y muestra en pantalla dos valores, cada uno en una línea aparte.

1. La distancia que recorre la carga desde la marca inicial hasta la cubierta, en metros.
2. El tiempo de elevación en minutos.

tips:
- Siempre deja espacios entre los operadores aritméticos y sus operandos, esto es una buena práctica de programación.
Expand Down
6 changes: 5 additions & 1 deletion modules/20-arithmetics/25-operator/en/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
A load is underwater at the −81 m mark relative to the water level. A crane lifts it onto a ship's deck, which is at the +6 m mark. The load moves vertically at 3 m/min.

Write a program that calculates the difference between the numbers `6` and `-81` and displays the answer on the screen.
Calculate and print two values, each on a separate line.

1. The distance the load travels from its starting mark to the deck, in meters.
2. The lifting time in minutes.
6 changes: 5 additions & 1 deletion modules/20-arithmetics/25-operator/es/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
Una carga se encuentra bajo el agua en la marca de −81 m respecto al nivel del agua. Una grúa la eleva hasta la cubierta de un barco, que está en la marca de +6 m. La carga se mueve verticalmente a una velocidad de 3 m/min.

Check notice on line 1 in modules/20-arithmetics/25-operator/es/EXERCISE.md

View workflow job for this annotation

GitHub Actions / LanguageTool

[LanguageTool] modules/20-arithmetics/25-operator/es/EXERCISE.md#L1

Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’. (EN_A_VS_AN) Suggestions: `an` URL: https://languagetool.org/insights/post/indefinite-articles/ Rule: https://community.languagetool.org/rule/show/EN_A_VS_AN?lang=en-US Category: MISC
Raw output
modules/20-arithmetics/25-operator/es/EXERCISE.md:1:196: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’. (EN_A_VS_AN)
 Suggestions: `an`
 URL: https://languagetool.org/insights/post/indefinite-articles/ 
 Rule: https://community.languagetool.org/rule/show/EN_A_VS_AN?lang=en-US
 Category: MISC

Escribe un programa que calcule la diferencia entre los números `6` y `-81` y muestre la respuesta en pantalla.
Calcula y muestra en pantalla dos valores, cada uno en una línea aparte.

1. La distancia que recorre la carga desde la marca inicial hasta la cubierta, en metros.
2. El tiempo de elevación en minutos.
8 changes: 4 additions & 4 deletions modules/20-arithmetics/25-operator/ru/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Подводная лодка находится на глубине -81 м. Палуба спасательного корабля расположена на высоте +6 м над уровнем воды.
Груз находится под водой на отметке −81 м относительно уровня воды. Его поднимают краном на палубу корабля, которая расположена на отметке +6 м. Груз движется вертикально со скоростью 3 м/мин.

Рассчитайте и выведите на экран:
Рассчитайте и выведите на экран два значения, каждое на отдельной строке.

1. Полное расстояние всплытия в метрах.
2. Время подъема в минутах — лодка поднимается со скоростью 3 м/мин.
1. Расстояние, которое пройдёт груз от начальной отметки до палубы, в метрах.
2. Время подъёма в минутах.
Loading