Skip to content

zadania#148

Open
Dariadaria01 wants to merge 3 commits intodevmentor-pl:masterfrom
Dariadaria01:master
Open

zadania#148
Dariadaria01 wants to merge 3 commits intodevmentor-pl:masterfrom
Dariadaria01:master

Conversation

@Dariadaria01
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Dario,

Świetnie sobie poradziłaś z zadaniami! - bez uwag! 🥇

}
} else {
console.log('Wylosowana liczba jest zbyt mała, aby użyć pętli');
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

while (i <= x) {
result += i;
i++;
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

randomNumber = Math.round(Math.random() * 21);
iteration++;
}
console.log('Liczba prób: ' + iteration);
Copy link
Copy Markdown
Owner

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