Skip to content

Comments

Моё первое дз#1

Open
PaladinLeonid wants to merge 1 commit intodevfrom
main
Open

Моё первое дз#1
PaladinLeonid wants to merge 1 commit intodevfrom
main

Conversation

@PaladinLeonid
Copy link
Owner

No description provided.

Copy link

@nasibullin1412 nasibullin1412 left a comment

Choose a reason for hiding this comment

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

🍏 Форматирование кода скачет в некоторых местах, не забывай прожимать ctrl+alt+l перед тем, как коммитишь изменения https://devcolibri.com/%D0%B3%D0%BE%D1%80%D1%8F%D1%87%D0%B8%D0%B5-%D0%BA%D0%BB%D0%B0%D0%B2%D0%B8%D1%88%D0%B8-intellij-idea/

import java.util.HashMap;

public class Calculator {
private double productSum;

Choose a reason for hiding this comment

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

🍏 Лишнее поле, ты можешь вызывать calculate при вызове getProductsum или реализовать это логику сразу в этой функции

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