Skip to content

Commit 13c32ed

Browse files
Add comments for code explanation in 3-to-pounds.js
Added comments to explain the purpose of the code.
1 parent 68a38ee commit 13c32ed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sprint-1/3-mandatory-interpret/3-to-pounds.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ console.log(`£${pounds}.${pence}`);
2323
// You need to do a step-by-step breakdown of each line in this program
2424
// Try and describe the purpose / rationale behind each step
2525

26+
// To begin, we can start with
27+
// 1. const penceString = "399p": initialises a string variable with the value "399p"

0 commit comments

Comments
 (0)