From 875a4f2e6f7c3aa04e43161400d745dae313baa2 Mon Sep 17 00:00:00 2001 From: Sheldon Cook Date: Sun, 18 Oct 2020 20:51:36 -0600 Subject: [PATCH] I am completely lost on this project. The lesson did not prepare me for this at all and despite all my independant research I have been unable to figure this out. --- index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 667af155..9600ce8d 100644 --- a/index.js +++ b/index.js @@ -3,8 +3,10 @@ // 🏡 Task 1: Variables /* Create variables for principal, interest rate, and years. Assign them the values 200000, 0.05, and 30 respectively. Create another value called name and give it the value of your own name. */ - - +var principal = 200000; +var interestRate = 0.05; +var years = 30; +var person = "Sheldon Cook"; @@ -14,6 +16,7 @@ (1) Create a variable called `monthlyInterestRate` and give it the value of interest rate divided by 12. (2) Create another variable called `periods` and give it the value of years*12. */ +var monthlyInterestRate