Skip to content

[init] Introduce Calculator - #1

Open
coyotedev wants to merge 2 commits into
devfrom
feature/olepakhin/project_work_1
Open

coyotedev wants to merge 2 commits into
devfrom
feature/olepakhin/project_work_1

Conversation

@coyotedev

Copy link
Copy Markdown
Owner

No description provided.

Comment thread src/main/java/Main.java
private static final String RUBLES_ROOT = "руб";
private static final String[] RUBLES_SUFFIX = {"ль", "ля", "лей"};
private static final int PERSON_COUNT_CORRECT = 2;
private static final String SAFE_WORD = "завершить";

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/Main.java
}

private static double requestPrice(Scanner scanner) {
double ret = .0;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Зачем это нужно?

@AleksandrIlinskii

Copy link
Copy Markdown

image
Не стоит ограничивать пользователя ввести просто число

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