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

PR for check#117

Open
SergeyNoskov2022 wants to merge 4 commits intoYandex-Practicum:master from
SergeyNoskov2022:master
Open

PR for check #117
SergeyNoskov2022 wants to merge 4 commits intoYandex-Practicum:master from
SergeyNoskov2022:master

Conversation

@SergeyNoskov2022
Copy link

@SergeyNoskov2022 SergeyNoskov2022 commented Nov 3, 2022

No description provided.

}
public void sumProducts() {
while (true) {
System.out.println("Введите название товара:");

This comment was marked as resolved.

}

public void divTotalPrice() {
int lastNum = (int) totalPrice % 10;

This comment was marked as resolved.

rub = "рублей";
} else if (lastNum > 1 && lastNum < 5) {
rub = "рубля";
} else if (totalPrice % 10 == 1) {

This comment was marked as resolved.

Copy link
Author

@SergeyNoskov2022 SergeyNoskov2022 Nov 4, 2022

Choose a reason for hiding this comment

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

Спасибо за критику! Исправил, прошу проверить.

MagicUnderHood reacted with thumbs up emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

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