Skip to content
Open
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: 3 additions & 3 deletions modules/10-basics/30-statements/App.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class App {
public static void main(String[] args) {
// BEGIN
System.out.println("Robert");
System.out.println("Stannis");
System.out.println("Renly");
System.out.println("Order #1337");
System.out.println("Status: in delivery");
System.out.println("Estimated time: 2 days");
// END
}
}
2 changes: 1 addition & 1 deletion modules/10-basics/30-statements/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class AppTest {
public static void main(final String[] args) {
final var expected = "Robert\nStannis\nRenly";
final var expected = "Order #1337\nStatus: in delivery\nEstimated time: 2 days";

App.main(null);

Expand Down
10 changes: 4 additions & 6 deletions modules/10-basics/30-statements/en/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Print three names on the screen one after another: _Robert_, _Stannis_, _Renly_. As a result, the screen should display:
Print the delivery status of a parcel to the screen: three lines, each with a separate `System.out.println()` call.

```text
Robert
Stannis
Renly
Order #1337
Status: in delivery
Estimated time: 2 days
```

Use a separate `System.out.println()` call for each name.
10 changes: 4 additions & 6 deletions modules/10-basics/30-statements/es/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Muestra en la pantalla, uno tras otro, tres nombres: _Robert_, _Stannis_, _Renly_. Como resultado, en la pantalla debería aparecer:
Muestra en pantalla el estado de entrega de un paquete: tres líneas, cada una con su propia llamada a `System.out.println()`.

```text
Robert
Stannis
Renly
Order #1337
Status: in delivery
Estimated time: 2 days
```

Usa una llamada `System.out.println()` propia para cada nombre.
10 changes: 4 additions & 6 deletions modules/10-basics/30-statements/ru/EXERCISE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Выведите на экран друг за другом три имени: _Robert_, _Stannis_, _Renly_. В результате на экране должно отобразиться:
Выведите на экран статус доставки посылки. Это три строки, и каждая выводится своим вызовом `System.out.println()`.

```text
Robert
Stannis
Renly
Order #1337
Status: in delivery
Estimated time: 2 days
```

Для каждого имени используйте свой собственный вызов `System.out.println()`.
Loading