Skip to content

Пул реквест проекта №1 - #1

Open
Imapol8529 wants to merge 1 commit into
mainfrom
dev
Open

Imapol8529 wants to merge 1 commit into
mainfrom
dev

Conversation

@Imapol8529

Copy link
Copy Markdown
Owner

No description provided.

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

if (scanner.hasNextInt()) {
input = scanner.nextInt();
if (input >= 0 && input <= 250) {

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/RaceCars.java
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