Skip to content

Выполненная практическая работа - #1

Open
S3eda wants to merge 2 commits into
mainfrom
dev
Open

S3eda wants to merge 2 commits into
mainfrom
dev

Conversation

@S3eda

@S3eda S3eda commented Nov 5, 2024

Copy link
Copy Markdown
Owner

No description provided.

println("Введите название файла")
var preName = Scanner(System.`in`).nextLine()
if (preName.trim() != null){
if (preName.trim() != ""){

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Рекомендация:
preName.trim().isEmpty()

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