Skip to content

Made mortgage function - #1

Open
ejself wants to merge 1 commit into
masterfrom
erica-self
Open

Made mortgage function#1
ejself wants to merge 1 commit into
masterfrom
erica-self

Conversation

@ejself

@ejself ejself commented May 13, 2020

Copy link
Copy Markdown
Owner

No description provided.

@ejself
ejself requested a review from sage-jordan May 13, 2020 22:41
Comment thread index.js
function variableInterestRate(P, I, N) {
N = N*12;
I -= 0.02;
for(let i = 0; i < 10; i++){

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

To iterate 10 times, should be i<10 because the count starts at 0

Comment thread index.js



function mortgageCalculator(principal, interestRate, years) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

you have years as a parameter but it's not being used. No need to take it in if it's not needed

@sage-jordan

Copy link
Copy Markdown
Collaborator

You can merge after you look over these comments! :)

@sage-jordan

Copy link
Copy Markdown
Collaborator

And just "Resolve conversation" to mark them completed. Then, add/commit/push, then if you see your commit here, merge

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