Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution #3340

Closed
wants to merge 1 commit into from
Closed

Solution #3340

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 3, 2023

No description provided.

}
const pricePerDay = 40;

if (days >= 7) {

Choose a reason for hiding this comment

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

Please, don't use numbers in conditions, create variables.
For example:

const LONG_TERM = 7;

Copy link

@Julia14012000 Julia14012000 left a comment

Choose a reason for hiding this comment

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

Please, check comments

// write code here
}
const pricePerDay = 40;

Choose a reason for hiding this comment

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

Create a const standartPrice = days * pricePerDay;

Copy link
Author

Choose a reason for hiding this comment

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

I couldnt reopen this pull request. I am sending a link to a new one with my fixes => #3369

@ghost ghost closed this Oct 9, 2023
@ghost ghost deleted the develop branch October 9, 2023 11:13
@ghost ghost restored the develop branch October 9, 2023 12:58
@ghost
Copy link
Author

ghost commented Oct 9, 2023

I couldnt reopen this pull request. I am sending a link to a new one with my fixes => #3369

This pull request was closed.
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.

None yet

2 participants