Skip to content

ura#1

Open
ugly4 wants to merge 1 commit intomainfrom
ugly4
Open

ura#1
ugly4 wants to merge 1 commit intomainfrom
ugly4

Conversation

@ugly4
Copy link
Owner

@ugly4 ugly4 commented Nov 16, 2022

No description provided.

let arr = [];
let i = 1;
do {
if (!(i % 2)) arr.push(i);
Copy link

Choose a reason for hiding this comment

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

Молодец, что проверяешь четное число или нет

for (let i = 1; i <= n; i++) {
fact *= i;
}
return fact;*/
Copy link

Choose a reason for hiding this comment

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

закомментированое решение лучше не оставлять, тем более тут оно не нужно

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

Comments