Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct result in statements #13

Merged
merged 1 commit into from
May 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/20-arithmetics/10-basics/description.ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ theory: |

```
System.out.println(8 / 2); // => 4
System.out.println(3 * 3 * 3); // => 81
System.out.println(3 * 3 * 3); // => 27
```
Здесь функция println выводит на экран начиная с новой строки(в отличие от простого вывода print).

Иногда для удобства мы будем показывать в комментариях результат запуска строчек кода вот так: `=> РЕЗУЛЬТАТ`. Например, `// => 4`.

Первая инструкция выведет на экран `4` (потому что 8 / 2 это 4), а вторая инструкция выведет на экран 9 (потому что трижды умножить три это 9).
Первая инструкция выведет на экран `4` (потому что 8 / 2 это 4), а вторая инструкция выведет на экран 27 (потому что трижды умножить три это 27).

instructions: |

Expand Down