Skip to content

Conversation

@CoreenCooper
Copy link

Hey Corey,
Is the warning: "X Can't automatically merge."normal? If not, do you have any idea what I did wrong?

Screen Shot 2020-12-08 at 11 45 39 PM

@coreyladovsky
Copy link
Contributor

Hey Corey,
Is the warning: "X Can't automatically merge."normal? If not, do you have any idea what I did wrong?

Screen Shot 2020-12-08 at 11 45 39 PM

Yep, it's because the main repo changed since the last time your forked or pulled. Probably won't happen too often but nothing to worry about.

// // circumference = 2PI * radius // note to self
// // console.log(Math.PI) //note to self
// // console.log((2 * Math.PI) * radius) // note to self
// let circumferenceResult = (Math.round(2 * 3.141592653589793) * radius)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice using Math.PI, keep using it. Also about to do Math.pow(radius, 2)

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the guidance.


// Hint:
// Use the remainder % operator.
//console.log(123%5)
Copy link
Contributor

Choose a reason for hiding this comment

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

Have spaces around operators for better readability.

Copy link
Author

Choose a reason for hiding this comment

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

Will do.

// * Years that are divisible by 100 are not leap years if they are not also divisible by 400.
// * For example 1900 was not a leap year, but 2000 was. Print "Leap year!" or "Not a leap year!" depending on the year you are provided.

console.log("ran out of time to solve, but I will keep trying. Got stuck on the math.")
Copy link
Contributor

Choose a reason for hiding this comment

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

No problem, was a bonus. Good effort!

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