Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Racing Simulator 1.0#1

Open
skravchenko424 wants to merge 2 commits intomain from
dev
Open

Racing Simulator 1.0 #1
skravchenko424 wants to merge 2 commits intomain from
dev

Conversation

@skravchenko424
Copy link
Owner

@skravchenko424 skravchenko424 commented Feb 14, 2026

No description provided.

String invalidInput = scanner.next();
printErrorMessage("Ошибка: '" + invalidInput + "' не является допустимым целым числом. Попробуйте снова.");
}
// scanner.nextLine() не нужен здесь, так как мы уже считали некорректный ввод через next() или nextInt()
Copy link

@sukhoikms27 sukhoikms27 Feb 14, 2026

Choose a reason for hiding this comment

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

Закоментированный код лучше сразу удалять. Хранить закоментированный код в проекте - плохая практика, в случае чего этот код можно восстановить с помощью истории гита

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

Reviewers

1 more reviewer

@sukhoikms27 sukhoikms27 sukhoikms27 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /