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

Invoice Calculator v.1#1

Open
OptypID wants to merge 1 commit intomain from
dev
Open

Invoice Calculator v.1 #1
OptypID wants to merge 1 commit intomain from
dev

Conversation

@OptypID
Copy link
Owner

@OptypID OptypID commented Feb 5, 2024

No description provided.

System.out.println("Ошибка: неверное значение. Попробуйте снова");
}
}
Calculator.calculate(people);
Copy link

@faritowich faritowich Feb 6, 2024

Choose a reason for hiding this comment

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

По хорошему надо выносить всю эту логику из класса Main. Этот класс обычно призван только стартануть программу, а все остальное должно быть сделано в специальных классах.

Тем более остальная логика приложения вынесена в отдельные классы, а именно ввод количества людей почему-то не вынесен

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

Reviewers

1 more reviewer

@faritowich faritowich faritowich 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 によって変換されたページ (->オリジナル) /