We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3f32c3 commit 80ad492Copy full SHA for 80ad492
Sprint-1/3-mandatory-interpret/1-percentage-change.js
@@ -30,6 +30,7 @@ priceAfterOneYear = Number(priceAfterOneYear.replaceAll("," ""));
30
31
let carPrice = "10,000";
32
let priceAfterOneYear = "8,543";
33
+
34
const priceDifference = carPrice - priceAfterOneYear;
35
const percentageChange = (priceDifference / carPrice) * 100;
36
0 commit comments