Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

exercises - #31

Open
teniolao wants to merge 2 commits into
CodeYourFuture:mainfrom
teniolao:main
Open

exercises#31
teniolao wants to merge 2 commits into
CodeYourFuture:mainfrom
teniolao:main

Conversation

@teniolao

Copy link
Copy Markdown

No description provided.

@AmarachiOkereke AmarachiOkereke left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great job Teniola, didn't see any error in your exercise folder.

@jacint-david jacint-david left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great Job @teniolao ! Very readable code! 🎉 😄


function getRandomNumberGreaterThan50() {
// TODO - implement using a do-while loop
let i = 0;

@MatenRehimi MatenRehimi Jan 31, 2022

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Would we need the variable i in this function?

Comment thread 2-mandatory/4-stocks.js
let priceChange = [];
for (let prices of closingPrices) {
let change = prices[prices.length - 1] - prices[0];
priceChange.push(rounded(change));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Did you mean Math.round rather than rounded?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants