Skip to content

Версия 1.0 - #1

Open
eKiva wants to merge 3 commits into
mainfrom
dev
Open

eKiva wants to merge 3 commits into
mainfrom
dev

Conversation

@eKiva

@eKiva eKiva commented Oct 24, 2024

Copy link
Copy Markdown
Owner

Передаю на проверку домашнюю работу

Comment thread src/main/java/Main.java Outdated
Comment thread src/main/java/Main.java Outdated
Comment thread src/main/java/Main.java
Comment thread src/main/java/Race.java Outdated

public void UpdateLeader(String carName, short carSpeed) {
short carDistance = (short) (carSpeed * 24);
if (carDistance >= this.bestDistance) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

два условия избыточны.

Comment thread src/main/java/Race.java
@eKiva

eKiva commented Oct 29, 2024

Copy link
Copy Markdown
Owner Author

Прошу проверить новую версию домашней работы

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants