Skip to content

Commit ac9a056

Browse files
Update T09YardGreening.js
1 parent 568f77a commit ac9a056

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
function yardGreening(input){
22
let meters = Number(input[0]);
3+
34
let price = (meters * 7.61);
45
let discount = (price * 0.18);
56
let finalPrice = (price - discount);
67

78
console.log(`The final price is: ${finalPrice} lv.`);
89
console.log(`The discount is: ${discount} lv.`);
9-
}
10+
}

0 commit comments

Comments
 (0)