Skip to content

refactor(code-style): рефакторит код по заданию#63

Open
viknem31324 wants to merge 1 commit intoPraktikumJava:masterfrom
viknem31324:master
Open

refactor(code-style): рефакторит код по заданию#63
viknem31324 wants to merge 1 commit intoPraktikumJava:masterfrom
viknem31324:master

Conversation

@viknem31324
Copy link

No description provided.

Copy link

@Islandec235 Islandec235 left a comment

Choose a reason for hiding this comment

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

Всё круто, молодец!! Оставил 2 коммента

import java.util.Scanner;

public class CalculateDeposit {
double calculateComplexPercent(double a, double y, int d ) {

Choose a reason for hiding this comment

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

Лучше дать осмысленные названия переменным в параметре

return Math.round(value * scale) / scale;
}

void startCalculateDeposit() {

Choose a reason for hiding this comment

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

у строк этого метода отступ 4 пробела

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